tony2001 Sun Dec 3 13:46:09 2006 UTC
Modified files:
/php-src/ext/standard crypt.c
Log:
fix AIX build
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/crypt.c?r1=1.65&r2=1.66&diff_format=u
Index: php-src/ext/standard/crypt.c
diff -u php-src/ext/standard/crypt.c:1.65 php-src/ext/standard/crypt.c:1.66
--- php-src/ext/standard/crypt.c:1.65 Thu Nov 30 16:00:05 2006
+++ php-src/ext/standard/crypt.c Sun Dec 3 13:46:09 2006
@@ -17,7 +17,7 @@
| Rasmus Lerdorf <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: crypt.c,v 1.65 2006/11/30 16:00:05 iliaa Exp $ */
+/* $Id: crypt.c,v 1.66 2006/12/03 13:46:09 tony2001 Exp $ */
#include <stdlib.h>
#include "php.h"
@@ -149,7 +149,7 @@
{
struct crypt_data buffer;
memset(&buffer, 0, sizeof(buffer));
- RETURN_STRING(crypt_r(str, salt, &buffer));
+ RETURN_STRING(crypt_r(str, salt, &buffer), 1);
}
#else
RETURN_STRING(crypt(str, salt), 1);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php