From: Ilia Alshanetsky Date: Wed, 19 Oct 2005 13:41:44 +0000 (+0000) Subject: MFH: Change E_ERROR to E_WARNING when more_entropy flag is off on Cygwin. X-Git-Tag: php-5.1.0RC4~73 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5916b8dd0489e495fdd0ddc8d70676238373b232;p=php MFH: Change E_ERROR to E_WARNING when more_entropy flag is off on Cygwin. --- diff --git a/ext/standard/uniqid.c b/ext/standard/uniqid.c index d4f9fe75b3..aaab00b3e9 100644 --- a/ext/standard/uniqid.c +++ b/ext/standard/uniqid.c @@ -61,8 +61,8 @@ PHP_FUNCTION(uniqid) #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