From 52422c477a75638ed62c6f607bd0b0b8b0a474ee Mon Sep 17 00:00:00 2001 From: "cyeh%netscape.com" Date: Fri, 9 Oct 1998 21:38:30 +0000 Subject: [PATCH] removing old #ifdef NSPR stuff. --- cmd/winfe/fegui.cpp | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/cmd/winfe/fegui.cpp b/cmd/winfe/fegui.cpp index 191311ef05b..7d105a9b770 100755 --- a/cmd/winfe/fegui.cpp +++ b/cmd/winfe/fegui.cpp @@ -775,14 +775,7 @@ WH_TempFileName(int type, const char * request_prefix, const char * extension) { static char file_buf[_MAX_PATH]; /* protected by _pr_TempName_lock */ char* result; -#ifdef NSPR - XP_ASSERT(_pr_TempName_lock); - PR_EnterMonitor(_pr_TempName_lock); -#endif result = XP_STRDUP(xp_TempFileName(type, request_prefix, extension, file_buf)); -#ifdef NSPR - PR_ExitMonitor(_pr_TempName_lock); -#endif return result; } @@ -3744,14 +3737,7 @@ WH_TempName(XP_FileType type, const char * prefix) { static char buf[_MAX_PATH]; /* protected by _pr_TempName_lock */ char* result; -#ifdef NSPR - XP_ASSERT(_pr_TempName_lock); - PR_EnterMonitor(_pr_TempName_lock); -#endif result = XP_STRDUP(xp_TempFileName(type, prefix, NULL, buf)); -#ifdef NSPR - PR_ExitMonitor(_pr_TempName_lock); -#endif return result; } @@ -3765,14 +3751,7 @@ WH_FileName (const char *name, XP_FileType type) ** I'm not sure this lock is really needed by windows, but just ** to be safe: */ -#ifdef NSPR - // XP_ASSERT(_pr_TempName_lock); - // PR_EnterMonitor(_pr_TempName_lock); -#endif result = xp_FileName(name, type, &myName); -#ifdef NSPR - // PR_ExitMonitor(_pr_TempName_lock); -#endif return myName; }