cvs: php-src(PHP_5_1) /ext/standard uniqid.c

From: Date: Wed, 19 Oct 2005 13:41:44 +0000
Subject: cvs: php-src(PHP_5_1) /ext/standard uniqid.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-34682@lists.php.net to get a copy of this message
iliaa Wed Oct 19 09:41:44 2005 EDT Modified files: (Branch: PHP_5_1) /php-src/ext/standard uniqid.c Log: MFH: Change E_ERROR to E_WARNING when more_entropy flag is off on Cygwin. http://cvs.php.net/diff.php/php-src/ext/standard/uniqid.c?r1=1.41&r2=1.41.2.1&ty=u Index: php-src/ext/standard/uniqid.c diff -u php-src/ext/standard/uniqid.c:1.41 php-src/ext/standard/uniqid.c:1.41.2.1 --- php-src/ext/standard/uniqid.c:1.41 Wed Aug 3 10:08:14 2005 +++ php-src/ext/standard/uniqid.c Wed Oct 19 09:41:44 2005 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: uniqid.c,v 1.41 2005/08/03 14:08:14 sniper Exp $ */ +/* $Id: uniqid.c,v 1.41.2.1 2005/10/19 13:41:44 iliaa Exp $ */ #include "php.h" @@ -61,8 +61,8 @@ #if HAVE_USLEEP && !defined(PHP_WIN32) if (!more_entropy) { #if defined(__CYGWIN__) - php_error_docref(NULL TSRMLS_CC, E_ERROR, "You must use 'more entropy' under CYGWIN."); - return; + php_error_docref(NULL TSRMLS_CC, E_WARNING, "You must use 'more entropy' under CYGWIN."); + RETURN_FALSE; #else usleep(1); #endif

« previous php.cvs (#34682) next »