Trac is being migrated to new services! Issues can be found in our new
YouTrack instance and WIKI pages can be found on our
website.
-
diff -ru nss-3.14.3.orig/mozilla/dbm/include/mcom_db.h nss-3.14.3/mozilla/dbm/include/mcom_db.h
|
old
|
new
|
|
| 35 | 35 | #ifndef _DB_H_ |
| 36 | 36 | #define _DB_H_ |
| 37 | 37 | |
| | 38 | #ifdef WINDDK_BUILD |
| | 39 | #ifndef stat |
| | 40 | #define stat _stat |
| | 41 | #endif |
| | 42 | #ifndef getpid |
| | 43 | #define getpid GetCurrentProcessId |
| | 44 | #endif |
| | 45 | #endif |
| | 46 | |
| 38 | 47 | #ifndef macintosh |
| 39 | 48 | #include <sys/types.h> |
| 40 | 49 | #endif |
-
diff -ru nss-3.14.3.orig/mozilla/dbm/src/mktemp.c nss-3.14.3/mozilla/dbm/src/mktemp.c
|
old
|
new
|
|
| 45 | 45 | #include <ctype.h> |
| 46 | 46 | #include "mcom_db.h" |
| 47 | 47 | |
| 48 | | #ifndef _WINDOWS |
| 49 | | #include <unistd.h> |
| 50 | | #endif |
| 51 | | |
| 52 | 48 | #ifdef _WINDOWS |
| | 49 | #ifndef WINDDK_BUILD |
| 53 | 50 | #include <process.h> |
| | 51 | #endif |
| 54 | 52 | #include "winfile.h" |
| | 53 | #else |
| | 54 | #include <unistd.h> |
| 55 | 55 | #endif |
| 56 | 56 | |
| 57 | 57 | static int _gettemp(char *path, register int *doopen, int extraFlags); |
-
diff -ru nss-3.14.3.orig/mozilla/nsprpub/config/config.mk nss-3.14.3/mozilla/nsprpub/config/config.mk
|
old
|
new
|
|
| 132 | 132 | DEFINES += -DMOZ_UNICODE |
| 133 | 133 | endif |
| 134 | 134 | |
| | 135 | ifdef WINDDK_BUILD |
| | 136 | OS_CFLAGS += -DWINDDK_BUILD |
| | 137 | ifdef USE_64 |
| | 138 | OS_LIBS += msvcrt_win2003.obj |
| | 139 | else |
| | 140 | OS_LIBS += msvcrt_winxp.obj |
| | 141 | endif |
| | 142 | endif |
| | 143 | |
| 135 | 144 | #################################################################### |
| 136 | 145 | # |
| 137 | 146 | # Configuration for the release process |
-
diff -ru nss-3.14.3.orig/mozilla/nsprpub/pr/src/Makefile.in nss-3.14.3/mozilla/nsprpub/pr/src/Makefile.in
|
old
|
new
|
|
| 167 | 167 | ifdef NS_USE_GCC |
| 168 | 168 | OS_LIBS = -ladvapi32 -lwsock32 -lwinmm |
| 169 | 169 | else |
| | 170 | ifdef WINDDK_BUILD |
| | 171 | ifdef USE_64 |
| | 172 | OS_LIBS = advapi32.lib wsock32.lib winmm.lib msvcrt_win2003.obj |
| | 173 | else |
| | 174 | OS_LIBS = advapi32.lib wsock32.lib winmm.lib msvcrt_winxp.obj |
| | 175 | endif |
| | 176 | else |
| 170 | 177 | OS_LIBS = advapi32.lib wsock32.lib winmm.lib |
| 171 | 178 | endif |
| 172 | 179 | endif |
| | 180 | endif |
| 173 | 181 | |
| 174 | 182 | ifeq ($(OS_ARCH),WINCE) |
| 175 | 183 | OS_LIBS = ws2.lib |
-
diff -ru nss-3.14.3.orig/mozilla/nsprpub/pr/src/md/windows/ntmisc.c nss-3.14.3/mozilla/nsprpub/pr/src/md/windows/ntmisc.c
|
old
|
new
|
|
| 593 | 593 | */ |
| 594 | 594 | hasFdInheritBuffer = (attr && attr->fdInheritBuffer); |
| 595 | 595 | if ((envp == NULL) && hasFdInheritBuffer) { |
| | 596 | #ifdef WINDDK_BUILD |
| | 597 | envp = getenv; |
| | 598 | #else |
| 596 | 599 | envp = environ; |
| | 600 | #endif |
| 597 | 601 | } |
| 598 | 602 | |
| 599 | 603 | if (envp != NULL) { |
-
diff -ru nss-3.14.3.orig/mozilla/security/coreconf/arch.mk nss-3.14.3/mozilla/security/coreconf/arch.mk
|
old
|
new
|
|
| 235 | 235 | # the uname.exe in the MSYS toolkit. |
| 236 | 236 | # |
| 237 | 237 | ifeq (MINGW32_NT,$(findstring MINGW32_NT,$(OS_ARCH))) |
| 238 | | OS_RELEASE := $(patsubst MINGW32_NT-%,%,$(OS_ARCH)) |
| | 238 | ifdef WINDDK_BUILD |
| | 239 | ifdef USE_64 |
| | 240 | OS_RELEASE := 5.2 |
| | 241 | else |
| | 242 | OS_RELEASE := 5.1 |
| | 243 | endif |
| | 244 | else |
| | 245 | OS_RELEASE := $(patsubst MINGW32_NT-%,%,$(OS_ARCH)) |
| | 246 | endif |
| 239 | 247 | OS_ARCH = WINNT |
| 240 | 248 | USE_MSYS = 1 |
| 241 | 249 | ifndef CPU_ARCH |
-
diff -ru nss-3.14.3.orig/mozilla/security/coreconf/WIN32.mk nss-3.14.3/mozilla/security/coreconf/WIN32.mk
|
old
|
new
|
|
| 114 | 114 | OS_CFLAGS += -W3 -nologo -D_CRT_SECURE_NO_WARNINGS \ |
| 115 | 115 | -D_CRT_NONSTDC_NO_WARNINGS |
| 116 | 116 | OS_DLLFLAGS += -nologo -DLL -SUBSYSTEM:WINDOWS |
| | 117 | ifdef WINDDK_BUILD |
| | 118 | OS_CFLAGS += -DWINDDK_BUILD |
| | 119 | ifdef USE_64 |
| | 120 | OS_LIBS += msvcrt_win2003.obj |
| | 121 | else |
| | 122 | OS_LIBS += msvcrt_winxp.obj |
| | 123 | endif |
| | 124 | endif |
| 117 | 125 | ifeq ($(_MSC_VER),$(_MSC_VER_6)) |
| 118 | 126 | ifndef MOZ_DEBUG_SYMBOLS |
| 119 | 127 | OS_DLLFLAGS += -PDB:NONE |
-
diff -ru nss-3.14.3.orig/mozilla/security/nss/cmd/httpserv/httpserv.c nss-3.14.3/mozilla/security/nss/cmd/httpserv/httpserv.c
|
old
|
new
|
|
| 12 | 12 | #endif |
| 13 | 13 | |
| 14 | 14 | #if defined(_WINDOWS) |
| | 15 | #ifdef WINDDK_BUILD |
| | 16 | #include <windows.h> |
| | 17 | #define getpid GetCurrentProcessId |
| | 18 | #else |
| 15 | 19 | #include <process.h> /* for getpid() */ |
| 16 | 20 | #endif |
| | 21 | #endif |
| 17 | 22 | |
| 18 | 23 | #include <signal.h> |
| 19 | 24 | #include <stdlib.h> |
-
diff -ru nss-3.14.3.orig/mozilla/security/nss/cmd/platlibs.mk nss-3.14.3/mozilla/security/nss/cmd/platlibs.mk
|
old
|
new
|
|
| 195 | 195 | endif |
| 196 | 196 | |
| 197 | 197 | JAR_LIBS = $(DIST)/lib/$(LIB_PREFIX)jar.$(LIB_SUFFIX) |
| | 198 | |
| | 199 | ifdef WINDDK_BUILD |
| | 200 | ifdef USE_64 |
| | 201 | OS_LIBS += msvcrt_win2003.obj |
| | 202 | else |
| | 203 | OS_LIBS += msvcrt_winxp.obj |
| | 204 | endif |
| | 205 | endif |
-
diff -ru nss-3.14.3.orig/mozilla/security/nss/cmd/selfserv/selfserv.c nss-3.14.3/mozilla/security/nss/cmd/selfserv/selfserv.c
|
old
|
new
|
|
| 18 | 18 | #endif |
| 19 | 19 | |
| 20 | 20 | #if defined(_WINDOWS) |
| | 21 | #ifdef WINDDK_BUILD |
| | 22 | #include <windows.h> |
| | 23 | #define getpid GetCurrentProcessId |
| | 24 | #else |
| 21 | 25 | #include <process.h> /* for getpid() */ |
| 22 | 26 | #endif |
| | 27 | #endif |
| 23 | 28 | |
| 24 | 29 | #include <signal.h> |
| 25 | 30 | #include <stdlib.h> |
-
diff -ru nss-3.14.3.orig/mozilla/security/nss/lib/freebl/mpi/mpcpucache.c nss-3.14.3/mozilla/security/nss/lib/freebl/mpi/mpcpucache.c
|
old
|
new
|
|
| 47 | 47 | |
| 48 | 48 | #elif defined(_MSC_VER) |
| 49 | 49 | |
| | 50 | #ifdef WINDDK_BUILD |
| | 51 | #include <ntddk.h> |
| | 52 | #else |
| 50 | 53 | #include <intrin.h> |
| | 54 | #endif |
| 51 | 55 | |
| 52 | 56 | void freebl_cpuid(unsigned long op, unsigned long *eax, |
| 53 | 57 | unsigned long *ebx, unsigned long *ecx, |
-
diff -ru nss-3.14.3.orig/mozilla/security/nss/lib/freebl/win_rand.c nss-3.14.3/mozilla/security/nss/lib/freebl/win_rand.c
|
old
|
new
|
|
| 12 | 12 | #include <io.h> |
| 13 | 13 | #include <sys/types.h> |
| 14 | 14 | #include <sys/stat.h> |
| | 15 | #ifdef WINDDK_BUILD |
| | 16 | #ifndef stat |
| | 17 | #define stat _stat |
| | 18 | #endif |
| | 19 | #endif |
| 15 | 20 | #include <stdio.h> |
| 16 | 21 | #include "prio.h" |
| 17 | 22 | #include "prerror.h" |
-
diff -ru nss-3.14.3.orig/mozilla/security/nss/lib/softoken/legacydb/config.mk nss-3.14.3/mozilla/security/nss/lib/softoken/legacydb/config.mk
|
old
|
new
|
|
| 59 | 59 | ifeq ($(OS_TARGET),SunOS) |
| 60 | 60 | OS_LIBS += -lbsm |
| 61 | 61 | endif |
| | 62 | |
| | 63 | ifdef WINDDK_BUILD |
| | 64 | ifdef USE_64 |
| | 65 | OS_LIBS += msvcrt_win2003.obj |
| | 66 | else |
| | 67 | OS_LIBS += msvcrt_winxp.obj |
| | 68 | endif |
| | 69 | endif |
-
diff -ru nss-3.14.3.orig/mozilla/security/nss/lib/sqlite/sqlite3.c nss-3.14.3/mozilla/security/nss/lib/sqlite/sqlite3.c
|
old
|
new
|
|
| 14204 | 14204 | ** localtime_s(). |
| 14205 | 14205 | */ |
| 14206 | 14206 | #if !defined(HAVE_LOCALTIME_R) && !defined(HAVE_LOCALTIME_S) && \ |
| 14207 | | defined(_MSC_VER) && defined(_CRT_INSECURE_DEPRECATE) |
| | 14207 | defined(_MSC_VER) && defined(_CRT_INSECURE_DEPRECATE) && \ |
| | 14208 | !defined(WINDDK_BUILD) |
| 14208 | 14209 | #define HAVE_LOCALTIME_S 1 |
| 14209 | 14210 | #endif |
| 14210 | 14211 | |
-
diff -ru nss-3.14.3.orig/mozilla/security/nss/lib/ssl/sslimpl.h nss-3.14.3/mozilla/security/nss/lib/ssl/sslimpl.h
|
old
|
new
|
|
| 1792 | 1792 | #if defined(XP_UNIX) || defined(XP_OS2) || defined(XP_BEOS) |
| 1793 | 1793 | #define SSL_GETPID getpid |
| 1794 | 1794 | #elif defined(WIN32) |
| | 1795 | #ifdef WINDDK_BUILD |
| | 1796 | #include <windows.h> |
| | 1797 | #define SSL_GETPID GetCurrentProcessId |
| | 1798 | #else |
| 1795 | 1799 | extern int __cdecl _getpid(void); |
| 1796 | 1800 | #define SSL_GETPID _getpid |
| | 1801 | #endif |
| 1797 | 1802 | #else |
| 1798 | 1803 | #define SSL_GETPID() 0 |
| 1799 | 1804 | #endif |
-
diff -ru nss-3.14.3.orig/mozilla/security/nss/lib/zlib/config.mk nss-3.14.3/mozilla/security/nss/lib/zlib/config.mk
|
old
|
new
|
|
| 14 | 14 | PROGRAM = |
| 15 | 15 | |
| 16 | 16 | EXTRA_LIBS = $(LIBRARY) |
| | 17 | |
| | 18 | ifdef WINDDK_BUILD |
| | 19 | ifdef USE_64 |
| | 20 | OS_LIBS += msvcrt_win2003.obj |
| | 21 | else |
| | 22 | OS_LIBS += msvcrt_winxp.obj |
| | 23 | endif |
| | 24 | endif |
Download in other formats:
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!