From: Ilia Alshanetsky Date: Wed, 19 Oct 2005 13:41:36 +0000 (+0000) Subject: Change E_ERROR to E_WARNING when more_entropy flag is off on Cygwin. X-Git-Tag: RELEASE_0_9_1~73 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=087145d953071c857f0cc4366c474eabae5cdaee;p=php 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 9d69238703..304e142502 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