com php-src: Merge branch 'PHP-5.6': ext/standard/formatted_p rint.c main/snprintf.c main/spprintf.c

From: Date: Sat, 06 Dec 2014 11:01:09 +0000
Subject: com php-src: Merge branch 'PHP-5.6': ext/standard/formatted_p rint.c main/snprintf.c main/spprintf.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-83547@lists.php.net to get a copy of this message
Commit: 3d68d843cb21d7147164dd4599e99afb456790c8 Author: Anatol Belski <ab@php.net> Sat, 6 Dec 2014 12:01:09 +0100 Parents: 0d76e16504137bc096667cc5e25a9238b7a3d8a6 8d791399807f075295f2032f60ddee802323fad9 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3d68d843cb21d7147164dd4599e99afb456790c8 Log: Merge branch 'PHP-5.6' * PHP-5.6: updated NEWS Fixed bug #65230 setting locale randomly broken Bugs: https://bugs.php.net/65230 Changed paths: MM ext/standard/formatted_print.c MM main/snprintf.c MM main/spprintf.c Diff: diff --cc ext/standard/formatted_print.c index f840754,a21bfeb..2efd162 --- a/ext/standard/formatted_print.c +++ b/ext/standard/formatted_print.c @@@ -208,14 -216,17 +212,18 @@@ php_sprintf_appenddouble(zend_string ** { char num_buf[NUM_BUF_SIZE]; char *s = NULL; - int s_len = 0, is_negative = 0; + size_t s_len = 0; + int is_negative = 0; #ifdef HAVE_LOCALE_H + #ifdef ZTS + struct lconv lconv; + #else struct lconv *lconv; #endif + #endif PRINTF_DEBUG(("sprintf: appenddouble(%x, %x, %x, %f, %d, '%c', %d, %c)\n", - *buffer, pos, size, number, width, padding, alignment, fmt)); + *buffer, pos, &(*buffer)->len, number, width, padding, alignment, fmt)); if ((adjust & ADJ_PRECISION) == 0) { precision = FLOAT_PRECISION; } else if (precision > MAX_FLOAT_PRECISION) {

« previous php.cvs (#83547) next »