| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This breaks on Linux with the musl libc, since it zeroes out gl_pathc during
globfree.
|
| |
|
| |
|
|\
| |
| |
| |
| | |
* PHP-7.2:
Fix #78641: addGlob can modify given remove_path value
|
| |
| |
| |
| |
| |
| |
| | |
`remove_path` points to the given string, so we must not modify it.
Instead we use a duplicate, if we need the modification.
We may want to switch to `zend_string`s in master.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Fix build for libzip < 0.11.2
|
| |
| |
| |
| |
| | |
We must not define method entries, if the actual method definitions or
the arginfo structures are not defined.
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines in all
*.phpt sections.
According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.
C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."
Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines.
According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.
C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."
Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines in all
*.phpt sections.
According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.
C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."
Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines.
According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.
C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."
Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
bump zip extension version
|
| | |
|
| |
| |
| |
| |
| | |
$Id attributes were used with SVN. With Git most of the Git ident
attributes in source code files are not used anymore.
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.2:
Improve test
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.1:
Improve test
|
| | |
| | |
| | |
| | | |
Ensure the filename is non existent indeed.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
Fix bug #76524 - ZipArchive memory leak
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.1:
Fix bug #76524 - ZipArchive memory leak
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bugfix #76524: Free up zip internal state and adjust the tests for Windows
Bugfix #76524: Fix possible use after free for libzip 1.3.1
Bugfix #76524: Make the test independent of platform
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
Fixed regex for checking libzip static lib
|
| | |
| | |
| | |
| | |
| | |
| | | |
This bug caused linking issues in debug mode (see bug [#76564](https://bugs.php.net/bug.php?id=76564))
This issue affects PHP 7.2 and master.
|
| | |
| | |
| | |
| | | |
reference, that may lead to memory leaks.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
destructors.
zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places.
Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
Fixed bug #76564 ext/zip link issues
|
| | |
| | |
| | |
| | | |
Add zlib for linking directly, so then ext/zlib is not required.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-7.2:
NEWS
Add OPSYS_CPM constant as documented and to match libzip naming
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
where we sure about string persistence.
|
| | |
| | |
| | |
| | | |
is known to be a temporary allocated zend_string.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.2:
Fix shared ext/zip build with static dependency lib
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
|
| | | |
|
| | |
| | |
| | |
| | | |
Also unify credits - all are under --CREDITS-- now.
|
| | |
| | |
| | |
| | | |
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
|
| | | |
|