cvs: php4 /ext/standard uniqid.c
| From: | Marcus Boerger | Date: | Fri, 20 Dec 2002 17:04:33 +0000 |
| Subject: | cvs: php4 /ext/standard uniqid.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17303@lists.php.net to get a copy of this message | ||
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);