diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2015-08-21 22:26:26 +0200 |
---|---|---|
committer | Christoph M. Becker <cmb@php.net> | 2015-09-05 00:34:10 +0200 |
commit | c77f783777e0169b2a4b7b9439cad76b372290a3 (patch) | |
tree | c1370e0d681d44fa142b051f6dbbd5ef26180a7c /sapi/cli/php_cli_server.c | |
parent | 4b1dff6f438f84f7694df701b68744edbdd86153 (diff) | |
download | php-git-c77f783777e0169b2a4b7b9439cad76b372290a3.tar.gz |
Fix #70322: ZipArchive::close() doesn't indicate errors
If an archive can't be written, ZipArchive::close() nonetheless returns TRUE.
We fix the return value to properly return success, and additionally raise a
warning on failure.
Diffstat (limited to 'sapi/cli/php_cli_server.c')
0 files changed, 0 insertions, 0 deletions