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

From: Date: Sun, 03 Dec 2006 13:46:09 +0000
Subject: cvs: php-src /ext/standard crypt.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-41839@lists.php.net to get a copy of this message
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 <rasmus@php.net> | +----------------------------------------------------------------------+ */ -/* $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);

« previous php.cvs (#41839) next »