pollita Sat May 26 03:56:41 2007 UTC
Modified files:
/php-src/ext/hash hash.c
Log:
MFB(r-1.18.2.5.2.7) Use slprintf() instead of snprintf() - Bad Ilia, no
biscuit for you.
http://cvs.php.net/viewvc.cgi/php-src/ext/hash/hash.c?r1=1.34&r2=1.35&diff_format=u
Index: php-src/ext/hash/hash.c
diff -u php-src/ext/hash/hash.c:1.34 php-src/ext/hash/hash.c:1.35
--- php-src/ext/hash/hash.c:1.34 Mon Jan 8 22:29:52 2007
+++ php-src/ext/hash/hash.c Sat May 26 03:56:41 2007
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: hash.c,v 1.34 2007/01/08 22:29:52 nlopess Exp $ */
+/* $Id: hash.c,v 1.35 2007/05/26 03:56:41 pollita Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -751,9 +751,9 @@
(type = zend_hash_get_current_key_ex(&php_hash_hashtable, &str,
NULL, &idx, 0, &pos)) != HASH_KEY_NON_EXISTANT;
zend_hash_move_forward_ex(&php_hash_hashtable, &pos)) {
#if (PHP_MAJOR_VERSION >= 6)
- s += snprintf(s, e - s, "%s ", str.s);
+ s += slprintf(s, e - s, "%s ", str.s);
#else
- s += snprintf(s, e - s, "%s ", str);
+ s += slprintf(s, e - s, "%s ", str);
#endif
}
*s = 0;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php