|
|
| version 1.1.1.2, 2012/05/29 12:34:35 | version 1.1.1.3, 2013/07/22 01:32:11 |
|---|---|
| Line 2 | Line 2 |
| +----------------------------------------------------------------------+ | +----------------------------------------------------------------------+ |
| | PHP Version 5 | | | PHP Version 5 | |
| +----------------------------------------------------------------------+ | +----------------------------------------------------------------------+ |
| | Copyright (c) 1997-2012 The PHP Group | | | Copyright (c) 1997-2013 The PHP Group | |
| +----------------------------------------------------------------------+ | +----------------------------------------------------------------------+ |
| | This source file is subject to version 3.01 of the PHP license, | | | This source file is subject to version 3.01 of the PHP license, | |
| | that is bundled with this package in the file LICENSE, and is | | | that is bundled with this package in the file LICENSE, and is | |
| Line 211 static void xbuf_format_converter(smart_str *xbuf, con | Line 211 static void xbuf_format_converter(smart_str *xbuf, con |
| double fp_num; | double fp_num; |
| wide_int i_num = (wide_int) 0; | wide_int i_num = (wide_int) 0; |
| u_wide_int ui_num; | u_wide_int ui_num = (u_wide_int) 0; |
| char num_buf[NUM_BUF_SIZE]; | char num_buf[NUM_BUF_SIZE]; |
| char char_buf[2]; /* for printing %% and %<unknown> */ | char char_buf[2]; /* for printing %% and %<unknown> */ |
| Line 560 static void xbuf_format_converter(smart_str *xbuf, con | Line 560 static void xbuf_format_converter(smart_str *xbuf, con |
| s = ap_php_conv_p2(ui_num, 4, *fmt, | s = ap_php_conv_p2(ui_num, 4, *fmt, |
| &num_buf[NUM_BUF_SIZE], &s_len); | &num_buf[NUM_BUF_SIZE], &s_len); |
| FIX_PRECISION(adjust_precision, precision, s, s_len); | FIX_PRECISION(adjust_precision, precision, s, s_len); |
| if (alternate_form && i_num != 0) { | if (alternate_form && ui_num != 0) { |
| *--s = *fmt; /* 'x' or 'X' */ | *--s = *fmt; /* 'x' or 'X' */ |
| *--s = '0'; | *--s = '0'; |
| s_len += 2; | s_len += 2; |