Change 11699 by jhi@alpha on 2001/08/17 02:33:00

        It seems that Tru64 has "naturally" threadsafe APIs only for
        of the usual suspects (like getpwent) but not for others
        (like localtime and rand).  The _r versions are available
        for all of them, so lets' use them.

Affected files ...

... //depot/perl/perl.h#381 edit

Differences ...

==== //depot/perl/perl.h#381 (text) ====
Index: perl/perl.h
--- perl/perl.h.~1~     Thu Aug 16 20:45:05 2001
+++ perl/perl.h Thu Aug 16 20:45:05 2001
@@ -443,10 +443,10 @@
 #   define USE_REENTRANT_API
 #endif
 
-/* Tru64/Digital UNIX/DEC OSF/1 and Win32 have naturally
- * threadsafe libraries, no need to use any _r variants. */
+/* Win32 has naturally threadsafe libraries,
+ * no need to use any _r variants. */
 #ifdef USE_REENTRANT_API
-#   if (defined(__osf__) && defined(__alpha)) || defined(WIN32)
+#   ifdef WIN32
 #       undef USE_REEENTRANT_API
 #   endif
 #endif
End of Patch.

Reply via email to