]> granicus.if.org Git - php/commitdiff
[skip ci] typo
authorRemi Collet <remi@php.net>
Mon, 8 Jun 2020 06:02:48 +0000 (08:02 +0200)
committerRemi Collet <remi@php.net>
Mon, 8 Jun 2020 06:02:48 +0000 (08:02 +0200)
ext/zip/php_zip.c

index 9ac13d538a32ba62b9bac89eaeb422b6e80f0041..8151ad13ce3cc677319f8d16bab2f90f05d903d1 100644 (file)
@@ -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;
                }