Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ext/zip/php_zip.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ static bool php_zip_extract_file(struct zip * za, char *dest, const char *file,
new_state.cwd[0] = '\0';
new_state.cwd_length = 0;

/* Clean/normlize the path and then transform any path (absolute or relative)
/* Clean/normalize the path and then transform any path (absolute or relative)
to a path relative to cwd (../../mydir/foo.txt > mydir/foo.txt)
*/
virtual_file_ex(&new_state, file, NULL, CWD_EXPAND);
Expand Down
2 changes: 1 addition & 1 deletion ext/zip/php_zip.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ extern zend_module_entry zip_module_entry;
#define ZIP_LENGTH_TO_END 0
#endif

/* Additionnal flags not from libzip */
/* Additional flags not from libzip */
#define ZIP_FL_OPEN_FILE_NOW (1u<<30)

#define PHP_ZIP_VERSION "1.22.8"
Expand Down
2 changes: 1 addition & 1 deletion ext/zip/php_zip.stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class ZipArchive implements Countable
public const int FL_ENC_CP437 = UNKNOWN;

/**
* Additionnal flags not from libzip
* Additional flags not from libzip
* @cvalue ZIP_FL_OPEN_FILE_NOW
*/
public const int FL_OPEN_FILE_NOW = UNKNOWN;
Expand Down
2 changes: 1 addition & 1 deletion ext/zip/php_zip_arginfo.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading