Change 17775 by [EMAIL PROTECTED] on 2002/08/25 15:46:28

        Subject: [perl #16729] crypt() doesn't work in multithreaded perl
        From: "[EMAIL PROTECTED] (via RT)" <[EMAIL PROTECTED]>
        Date: 23 Aug 2002 15:24:39 -0000
        Message-Id: <[EMAIL PROTECTED]>

Affected files ...

.... //depot/perl/reentr.c#6 edit

Differences ...

==== //depot/perl/reentr.c#6 (text) ====
Index: perl/reentr.c
--- perl/reentr.c#5~15831~      Tue Apr  9 11:02:55 2002
+++ perl/reentr.c       Sun Aug 25 08:46:28 2002
@@ -148,6 +148,8 @@
 #ifdef HAS_CRYPT_R
 #ifdef __GLIBC__
        PL_reentrant_buffer->_crypt_struct.initialized = 0;
+       /* work around glibc-2.2.5 bug */
+       PL_reentrant_buffer->_crypt_struct.current_saltbits = 0;
 #endif
 #endif /* HAS_CRYPT_R */
 #ifdef HAS_CTIME_R
End of Patch.

Reply via email to