-
Notifications
You must be signed in to change notification settings - Fork 300
Closed
Description
Describe the Bug
zip_file_is_seekable
seems unreliable
Expected Behavior
zip_file_is_seekable
return 0 when seek not doable
Observed Behavior
zip_file_is_seekable
return 1 but zip_fseek
fails
To Reproduce
Using https://github.com/pierrejoye/php_zip/blob/master/tests/test.zip
Using "bar" entry, zip_file_is_seekable
returns 1 and zip_fseek
works
Using "entry1.txt" entry (compressed), zip_file_is_seekable
returns 1 but zip_fseek
fails
libzip Version
1.9.0
Operating System
Fedora 35
Additional information
zip_file_is_seekable
is missing in documentation and test coverage
Metadata
Metadata
Assignees
Labels
No labels