helly Fri Dec 20 12:04:33 2002 EDT
Modified files:
/php4/ext/standard uniqid.c
Log:
MFB
Index: php4/ext/standard/uniqid.c
diff -u php4/ext/standard/uniqid.c:1.33 php4/ext/standard/uniqid.c:1.34
--- php4/ext/standard/uniqid.c:1.33 Fri Dec 20 11:34:41 2002
+++ php4/ext/standard/uniqid.c Fri Dec 20 12:04:33 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: uniqid.c,v 1.33 2002/12/20 16:34:41 helly Exp $ */
+/* $Id: uniqid.c,v 1.34 2002/12/20 17:04:33 helly Exp $ */
#include "php.h"
@@ -69,8 +69,9 @@
#if defined(__CYGWIN__)
php_error_docref(NULL TSRMLS_CC, E_ERROR, "You must use 'more entropy'
under CYGWIN.");
return;
-#endif
+#else
usleep(1);
+#endif
}
#endif
gettimeofday((struct timeval *) &tv, (struct timezone *) NULL);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php