From: foobar Date: Wed, 3 Sep 2003 11:55:30 +0000 (+0000) Subject: MFH: - Fixed bug #25372 (sscanf() does not work with %X) X-Git-Tag: php-4.3.4RC1~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bfb188eff58f6a613f08597aa725ce0769386f91;p=php MFH: - Fixed bug #25372 (sscanf() does not work with %X) --- diff --git a/NEWS b/NEWS index fecae60bf4..8bf3e68fb4 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ PHP 4 NEWS - Fixed disk_total_space() and disk_free_space() under FreeBSD. (Jon Parise) - Fixed crash bug when non-existing save/serializer handler was used. (Jani) - Fixed memory leak in gethostbynamel() if an error occurs. (Sara) +- Fixed bug #25372 (sscanf() does not work with %X). (Jani) - Fixed bug #25348 ("make install" fails with --enable-short-tags). (Jani) - Fixed bug #25343 (is_dir() gives warning on FreeBSD). (Jani) - Fixed bug #25308 (php -m crashes when zend extensions are loaded). (Stas) diff --git a/ext/standard/scanf.c b/ext/standard/scanf.c index 542d2c5b73..fe4bc3ef14 100644 --- a/ext/standard/scanf.c +++ b/ext/standard/scanf.c @@ -789,6 +789,7 @@ PHPAPI int php_sscanf_internal( char *string, char *format, fn = (long (*)())strtol; break; case 'x': + case 'X': op = 'i'; base = 16; fn = (long (*)())strtol;