cvs: php-src /ext/standard crypt.c

From: Date: Tue, 12 Dec 2006 12:11:44 +0000
Subject: cvs: php-src /ext/standard crypt.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-42072@lists.php.net to get a copy of this message
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 <rasmus@php.net> | +----------------------------------------------------------------------+ */ -/* $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;

« previous php.cvs (#42072) next »