"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "platform/netwerk/protocol/http/nsHttpHandler.cpp" between
palemoon-29.4.1-source.tar.xz and palemoon-29.4.2-source.tar.xz

About: Pale Moon is a full-featured, optimized browser derived from the code behind the Firefox browser (shares the Unified XUL Platform (UXP)). Source code. Hint (Sept. 15, 2021): The separate application source code tarballs seems no longer available but only tarballs bundled with the underlying UXP platform code (see here).

nsHttpHandler.cpp  (palemoon-29.4.1-source.tar.xz):nsHttpHandler.cpp  (palemoon-29.4.2-source.tar.xz)
skipping to change at line 830 skipping to change at line 830
: WNT_BASE; : WNT_BASE;
#endif #endif
char *buf = PR_smprintf(format, char *buf = PR_smprintf(format,
info.dwMajorVersion, info.dwMajorVersion,
info.dwMinorVersion); info.dwMinorVersion);
if (buf) { if (buf) {
mOscpu = buf; mOscpu = buf;
PR_smprintf_free(buf); PR_smprintf_free(buf);
} }
} }
#elif defined (XP_MACOSX)
#if defined(__ppc__)
mOscpu.AssignLiteral("PPC Mac OS X");
#elif defined(__i386__) || defined(__x86_64__)
mOscpu.AssignLiteral("Intel Mac OS X");
#endif
SInt32 majorVersion = nsCocoaFeatures::macOSVersionMajor();
SInt32 minorVersion = nsCocoaFeatures::macOSVersionMinor();
mOscpu += nsPrintfCString(" %d.%d", majorVersion, minorVersion);
#elif defined (XP_UNIX) #elif defined (XP_UNIX)
struct utsname name; struct utsname name;
int ret = uname(&name); int ret = uname(&name);
if (ret >= 0) { if (ret >= 0) {
nsAutoCString buf; nsAutoCString buf;
buf = (char*)name.sysname; buf = (char*)name.sysname;
if (strcmp(name.machine, "x86_64") == 0 && if (strcmp(name.machine, "x86_64") == 0 &&
sizeof(void *) == sizeof(int32_t)) { sizeof(void *) == sizeof(int32_t)) {
 End of changes. 1 change blocks. 
9 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)