]> granicus.if.org Git - php/commit
- Fixed bug #53603 (ZipArchive should quiet stat errors).
authorGustavo André dos Santos Lopes <cataphract@php.net>
Fri, 24 Dec 2010 22:38:36 +0000 (22:38 +0000)
committerGustavo André dos Santos Lopes <cataphract@php.net>
Fri, 24 Dec 2010 22:38:36 +0000 (22:38 +0000)
commite7d5c4a8fd924927edd8f48c975cd34d19df8add
tree9cb1df971d7e915712cd90f337c002ae8159dae6
parentff32c32fba0c257f971df39fc85c20e0cd911d58
- Fixed bug #53603 (ZipArchive should quiet stat errors).
#It is unclear if url_stat handlers should emit a warning in case
#PHP_STREAM_URL_STAT_QUIET is not specified and the resource does
#not exist. Most url_stat handlers never emit messages; the plain
#one does only so in the extraordinary event of an open_basedir
#restriction.
#But in case, php_stat uses PHP_STREAM_URL_STAT_QUIET for the
#FS_EXISTS, which suggests that mere checks on file existence are
#supposed to use this flag (arguably).
#The downside is that important diagnostic messages might be
#omitted.
NEWS
ext/zip/php_zip.c
ext/zip/tests/bug53603.phpt [new file with mode: 0644]