]> 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)
commit44d0082823d6165cfdb068aae086bc97e1b037b4
tree71869b7346b27f5a9d22316639c0c7756cbff667
parent3143828eb3e6df1080ba0a0304bbf970aa5efe92
- 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.
ext/zip/php_zip.c
ext/zip/tests/bug53603.phpt [new file with mode: 0644]