Skip to content

Conversation

@nielsdos
Copy link
Member

In libzip versions prior to 1.10.0, you couldn't do a read for a changed file: this would result in an error. This is tested in our .phpt test. Starting from version 1.10.0 [1] this is no longer an error. Therefore, we amend the test to check the behaviour depending on which version is used.

[1] nih-at/libzip#286

Closes GH-11520

…10.0

In libzip versions prior to 1.10.0, you couldn't do a read for a changed
file: this would result in an error. This is tested in our .phpt test.
Starting from version 1.10.0 [1] this is no longer an error.
Therefore, we amend the test to check the behaviour depending on which
version is used.

[1] nih-at/libzip#286
@remicollet
Copy link
Member

I will dig on this

I prefer if possible to not change the test but keep same behavior on all versions

@andypost
Copy link
Contributor

Looks changed files is primary api addition in 1.10

@remicollet
Copy link
Member

A slightly different fix was merged in
b972af9
pierrejoye/php_zip@8105fb1

@remicollet remicollet closed this Jun 26, 2023
@andypost
Copy link
Contributor

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants