zip: zip_extract doesn't work if not on main OS drive?

I’m using this lib in a Qt app and everything works as expected until I move the app to another drive. This line of code works as expected if the application resides on C (the main drive where the OS is installed). Moving it to somewhere like F and nothing gets extracted.

zip_extract(input_filename, temporary_dir, nullptr, nullptr);

In my test case, input_filename is also on C and temporary_dir is a folder created in the temp directory (also on C). I’m using MSVC 2017 on Windows 10. Even running as admin I get the same issue.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 22 (11 by maintainers)

Most upvoted comments

Perfect so I’m merging PR with fix.