summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.c
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2020-06-08 08:02:48 +0200
committerRemi Collet <remi@php.net>2020-06-08 08:02:48 +0200
commitcd3f42f17efe3e0a8584d1048b307cf00e209468 (patch)
tree6cfadfba41d56315448c37f8b10bc29982643a21 /ext/zip/php_zip.c
parent45475c2e216f1b4ee2c543109695ec1b264156b6 (diff)
downloadphp-git-cd3f42f17efe3e0a8584d1048b307cf00e209468.tar.gz
[skip ci] typo
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r--ext/zip/php_zip.c2
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;
}