Skip to content

Commit e9bb07d

Browse files
committed
typo
1 parent fb47213 commit e9bb07d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

php5/php_zip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1657,7 +1657,7 @@ static ZIPARCHIVE_METHOD(open)
16571657
}
16581658

16591659
#if LIBZIP_VERSION_MAJOR > 1 || LIBZIP_VERSION_MAJOR == 1 && LIBZIP_VERSION_MINOR >= 6
1660-
/* reduce BC break introduce in libzip 1.6.0
1660+
/* reduce BC break introduced in libzip 1.6.0
16611661
"Do not accept empty files as valid zip archives any longer" */
16621662

16631663
/* open for write without option to empty the archive */

php7/php_zip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1563,7 +1563,7 @@ static ZIPARCHIVE_METHOD(open)
15631563
}
15641564

15651565
#if LIBZIP_VERSION_MAJOR > 1 || LIBZIP_VERSION_MAJOR == 1 && LIBZIP_VERSION_MINOR >= 6
1566-
/* reduce BC break introduce in libzip 1.6.0
1566+
/* reduce BC break introduced in libzip 1.6.0
15671567
"Do not accept empty files as valid zip archives any longer" */
15681568

15691569
/* open for write without option to empty the archive */

php73/php_zip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1566,7 +1566,7 @@ static ZIPARCHIVE_METHOD(open)
15661566
}
15671567

15681568
#if LIBZIP_VERSION_MAJOR > 1 || LIBZIP_VERSION_MAJOR == 1 && LIBZIP_VERSION_MINOR >= 6
1569-
/* reduce BC break introduce in libzip 1.6.0
1569+
/* reduce BC break introduced in libzip 1.6.0
15701570
"Do not accept empty files as valid zip archives any longer" */
15711571

15721572
/* open for write without option to empty the archive */

php74/php_zip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1575,7 +1575,7 @@ static ZIPARCHIVE_METHOD(open)
15751575
}
15761576

15771577
#if LIBZIP_VERSION_MAJOR > 1 || LIBZIP_VERSION_MAJOR == 1 && LIBZIP_VERSION_MINOR >= 6
1578-
/* reduce BC break introduce in libzip 1.6.0
1578+
/* reduce BC break introduced in libzip 1.6.0
15791579
"Do not accept empty files as valid zip archives any longer" */
15801580

15811581
/* open for write without option to empty the archive */

php8/php_zip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1464,7 +1464,7 @@ PHP_METHOD(ZipArchive, open)
14641464
if (VCWD_STAT(resolved_path, &st) == 0 && st.st_size == 0) {
14651465
php_error_docref(NULL, E_DEPRECATED, "Using empty file as ZipArchive is deprecated");
14661466

1467-
/* reduce BC break introduce in libzip 1.6.0
1467+
/* reduce BC break introduced in libzip 1.6.0
14681468
"Do not accept empty files as valid zip archives any longer" */
14691469
flags |= ZIP_TRUNCATE;
14701470
}

0 commit comments

Comments
 (0)