tony2001                Tue Dec 12 12:11:44 2006 UTC

  Modified files:              
    /php-src/ext/standard       crypt.c 
  Log:
  _THREAD_SAFE might be used instead of _REENTRANT
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/crypt.c?r1=1.68&r2=1.69&diff_format=u
Index: php-src/ext/standard/crypt.c
diff -u php-src/ext/standard/crypt.c:1.68 php-src/ext/standard/crypt.c:1.69
--- php-src/ext/standard/crypt.c:1.68   Tue Dec 12 12:06:00 2006
+++ php-src/ext/standard/crypt.c        Tue Dec 12 12:11:44 2006
@@ -17,7 +17,7 @@
    |          Rasmus Lerdorf <[EMAIL PROTECTED]>                             |
    +----------------------------------------------------------------------+
  */
-/* $Id: crypt.c,v 1.68 2006/12/12 12:06:00 tony2001 Exp $ */
+/* $Id: crypt.c,v 1.69 2006/12/12 12:11:44 tony2001 Exp $ */
 #include <stdlib.h>
 
 #include "php.h"
@@ -148,7 +148,7 @@
                salt[2] = '\0';
 #endif
        }
-#if defined(HAVE_CRYPT_R) && defined(_REENTRANT)
+#if defined(HAVE_CRYPT_R) && (defined(_REENTRANT) || defined(_THREAD_SAFE))
        {
 #if defined(CRYPT_R_STRUCT_CRYPT_DATA)
                struct crypt_data buffer;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to