diff options
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r-- | ext/zip/php_zip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 9ac13d538a..8151ad13ce 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -1464,7 +1464,7 @@ PHP_METHOD(ZipArchive, open) if (VCWD_STAT(resolved_path, &st) == 0 && st.st_size == 0) { php_error_docref(NULL, E_DEPRECATED, "Using empty file as ZipArchive is deprecated"); - /* reduce BC break introduce in libzip 1.6.0 + /* reduce BC break introduced in libzip 1.6.0 "Do not accept empty files as valid zip archives any longer" */ flags |= ZIP_TRUNCATE; } |