← Commit list

debb21ece

Glenn L McGrath
Glenn L McGrath
2003-10-28
FAILED Duration: 88s

Subject

Fix a logic error, the old bunzip code returned non-zero for success, new code returns 0 for success.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

archival/bunzip2.c+1 -1
@@ -83,7 +83,7 @@ int bunzip2_main(int argc, char **argv)
dst_fd = bb_xopen(save_name, O_WRONLY | O_CREAT);
}
- if (uncompressStream(src_fd, dst_fd)) {
+ if (uncompressStream(src_fd, dst_fd) == 0) {
if (!(flags & bunzip_to_stdout)) {
delete_name = argv[optind];
}