mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-09 08:14:08 +00:00
Fix stdin failing due to getting sizes all wrong.
Fix stdin compression values not being shown at end. Fix inappropriate failure when lzma doesn't compress block.
This commit is contained in:
parent
981859fdba
commit
427df4cd4a
2 changed files with 7 additions and 2 deletions
3
stream.c
3
stream.c
|
|
@ -336,7 +336,8 @@ retry:
|
|||
* remain uncompressed */
|
||||
print_verbose("Unable to allocate enough RAM for any sized compression window, falling back to bzip2 compression.\n");
|
||||
return bzip2_compress_buf(cthread);
|
||||
}
|
||||
} else if (lzma_ret == SZ_ERROR_OUTPUT_EOF)
|
||||
return 0;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue