From: Sara Golemon Date: Sat, 26 May 2007 03:56:41 +0000 (+0000) Subject: MFB(r-1.18.2.5.2.7) Use slprintf() instead of snprintf() - Bad Ilia, no biscuit for... X-Git-Tag: RELEASE_1_4~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bfc19a141117302b86b2dcc5360ca6d162549962;p=php MFB(r-1.18.2.5.2.7) Use slprintf() instead of snprintf() - Bad Ilia, no biscuit for you. --- diff --git a/ext/hash/hash.c b/ext/hash/hash.c index 52535fc592..2b96fc73c5 100644 --- a/ext/hash/hash.c +++ b/ext/hash/hash.c @@ -751,9 +751,9 @@ PHP_MINFO_FUNCTION(hash) (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;