From 087145d953071c857f0cc4366c474eabae5cdaee Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 19 Oct 2005 13:41:36 +0000 Subject: [PATCH] Change E_ERROR to E_WARNING when more_entropy flag is off on Cygwin. --- ext/standard/uniqid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.50.1