Skip to content

Commit 73c4690

Browse files
authored
[skip ci] Fix various typos in ext/zip (GH-21571)
1 parent c45b2be commit 73c4690

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

ext/zip/php_zip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ static bool php_zip_extract_file(struct zip * za, char *dest, const char *file,
151151
new_state.cwd[0] = '\0';
152152
new_state.cwd_length = 0;
153153

154-
/* Clean/normlize the path and then transform any path (absolute or relative)
154+
/* Clean/normalize the path and then transform any path (absolute or relative)
155155
to a path relative to cwd (../../mydir/foo.txt > mydir/foo.txt)
156156
*/
157157
virtual_file_ex(&new_state, file, NULL, CWD_EXPAND);

ext/zip/php_zip.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ extern zend_module_entry zip_module_entry;
3636
#define ZIP_LENGTH_TO_END 0
3737
#endif
3838

39-
/* Additionnal flags not from libzip */
39+
/* Additional flags not from libzip */
4040
#define ZIP_FL_OPEN_FILE_NOW (1u<<30)
4141

4242
#define PHP_ZIP_VERSION "1.22.8"

ext/zip/php_zip.stub.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class ZipArchive implements Countable
152152
public const int FL_ENC_CP437 = UNKNOWN;
153153

154154
/**
155-
* Additionnal flags not from libzip
155+
* Additional flags not from libzip
156156
* @cvalue ZIP_FL_OPEN_FILE_NOW
157157
*/
158158
public const int FL_OPEN_FILE_NOW = UNKNOWN;

ext/zip/php_zip_arginfo.h

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)