You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the return code of zip_extract() to find out if successfully extract files. When you pass a non-existent path to a zip, it will return 0 while it shouldn´t? Maybe I'm missing some thinking approach here, I'm basing on the zip_extract() documentation that says: 0 on success, negative number (< 0) on error.
From my point of view, it shouldn't return 0 if can't find the zip archive.
Cheers,
D.
The text was updated successfully, but these errors were encountered:
Hello kuba & collabs,
I use the return code of zip_extract() to find out if successfully extract files. When you pass a non-existent path to a zip, it will return 0 while it shouldn´t? Maybe I'm missing some thinking approach here, I'm basing on the zip_extract() documentation that says: 0 on success, negative number (< 0) on error.
From my point of view, it shouldn't return 0 if can't find the zip archive.
Cheers,
D.
The text was updated successfully, but these errors were encountered: