-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Executable cannot compress large files #3
Comments
bzip2 uses the I've added a patch to switch to I've built a new release (v1.0.6.1) that includes the patch. |
Thank you for this quick fix! I cannot believe that I am the first person to complain about this... |
The bzip2 command on Windows would report a 'not a normal file' error for files of size greater than 2^32 - 1 bytes. Use _stati64 instead of _stat so that a successful result is returned for large files. From: https://github.com/philr/bzip2-windows/blob/v1.0.6.1/patches/06-support_64bit_file_sizes.diff See also: philr/bzip2-windows#3
The bzip2 command line would report 'not a normal file' for files of size larger than 2^32 - 1 bytes. Patch bzip2.c to use _stati64 instead of _stat so that a successful result is returned for large files. Resolves philr/bzip2-windows#3.
Version: 1.0.6-win
Neither the x64 nor the x86 version managed to compress a 4.5 GB file.
Small testfiles (few KB) worked.
The text was updated successfully, but these errors were encountered: