cvs: php-src(PHP_5_2) /ext/standard crypt.c
| From: | Antony Dovgal | Date: | Sun, 03 Dec 2006 13:46:37 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/standard crypt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-41840@lists.php.net to get a copy of this message | ||
tony2001 Sun Dec 3 13:46:37 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard crypt.c
Log:
MFH: fix AIX build
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/crypt.c?r1=1.62.2.1.2.1&r2=1.62.2.1.2.2&diff_format=u
Index: php-src/ext/standard/crypt.c
diff -u php-src/ext/standard/crypt.c:1.62.2.1.2.1 php-src/ext/standard/crypt.c:1.62.2.1.2.2
--- php-src/ext/standard/crypt.c:1.62.2.1.2.1 Thu Nov 30 15:59:53 2006
+++ php-src/ext/standard/crypt.c Sun Dec 3 13:46:37 2006
@@ -17,7 +17,7 @@
| Rasmus Lerdorf <rasmus@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: crypt.c,v 1.62.2.1.2.1 2006/11/30 15:59:53 iliaa Exp $ */
+/* $Id: crypt.c,v 1.62.2.1.2.2 2006/12/03 13:46:37 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);