andrei Sat Oct 7 00:41:14 2006 UTC
Modified files:
/php-src/ext/standard uniqid.c
Log:
Default to ZEND_STR_TYPE.
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/uniqid.c?r1=1.46&r2=1.47&diff_format=u
Index: php-src/ext/standard/uniqid.c
diff -u php-src/ext/standard/uniqid.c:1.46 php-src/ext/standard/uniqid.c:1.47
--- php-src/ext/standard/uniqid.c:1.46 Fri Oct 6 20:00:37 2006
+++ php-src/ext/standard/uniqid.c Sat Oct 7 00:41:14 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: uniqid.c,v 1.46 2006/10/06 20:00:37 andrei Exp $ */
+/* $Id: uniqid.c,v 1.47 2006/10/07 00:41:14 andrei Exp $ */
#include "php.h"
@@ -45,7 +45,7 @@
{
zstr prefix = EMPTY_ZSTR;
int prefix_len = 0;
- zend_uchar str_type;
+ zend_uchar str_type = ZEND_STR_TYPE;
#if defined(__CYGWIN__)
zend_bool more_entropy = 1;
#else
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php