diff options
author | wtc%netscape.com <devnull@localhost> | 2002-05-24 14:58:02 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2002-05-24 14:58:02 +0000 |
commit | 6dda3e9cdb15e75d5759c5a7c5362c3cb8f1bce9 (patch) | |
tree | 96782b914bfb319bface774d201e6bbff9a6ba7d /security/nss | |
parent | 6f8d44bb3c7e7862ad31372b6fb6b5bb2733e472 (diff) | |
download | nss-hg-6dda3e9cdb15e75d5759c5a7c5362c3cb8f1bce9.tar.gz |
Back out the previous checkin. It broken the cmd/certcgi build.
Diffstat (limited to 'security/nss')
-rw-r--r-- | security/nss/lib/nss/nssinit.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/security/nss/lib/nss/nssinit.c b/security/nss/lib/nss/nssinit.c index 59685948f..22e56c1d1 100644 --- a/security/nss/lib/nss/nssinit.c +++ b/security/nss/lib/nss/nssinit.c @@ -52,30 +52,6 @@ #include "pki3hack.h" -/* - * On Windows nss3.dll needs to export the symbol 'mktemp' to be - * fully backward compatible with the nss3.dll in NSS 3.2.x and - * 3.3.x. This symbol was unintentionally exported and its - * definition (in DBM) was moved from nss3.dll to softokn3.dll - * in NSS 3.4. See bug 142575. - */ -#ifdef WIN32 -/* - * Simulate how 'mktemp' was accidentally exported. - * - * The compiler warning message - * warning C4273: 'mktemp' : inconsistent dll linkage. dllexport assumed. - * is expected and should be ignored. - */ -#include <io.h> - -char * -mktemp(char *path) -{ - return _mktemp(path); -} -#endif - #define NSS_MAX_FLAG_SIZE sizeof("readOnly")+sizeof("noCertDB")+ \ sizeof("noModDB")+sizeof("forceOpen")+sizeof("passwordRequired")+ \ sizeof ("optimizeSpace") |