Skip to content

Commit

Permalink
bzip2.rs: fix extra newline in output
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertdev committed Nov 12, 2024
1 parent 2ebaf07 commit a576313
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion bzip2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ unsafe fn uncompressStream(zStream: *mut FILE, stream: *mut FILE) -> bool {
} else {
if noisy {
eprintln!(
"\n{}: {}: trailing garbage after EOF ignored\n",
"\n{}: {}: trailing garbage after EOF ignored",
CStr::from_ptr(progName).to_string_lossy(),
CStr::from_ptr(inName.as_ptr()).to_string_lossy(),
);
Expand Down
1 change: 0 additions & 1 deletion tests/quick.rs
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,6 @@ mod decompress_command {
" [1: huff+mtf rt+rld {{0xccf1b5a5, 0xccf1b5a5}}]\n",
" combined CRCs: stored = 0xccf1b5a5, computed = 0xccf1b5a5\n",
"bzip2: (stdin): trailing garbage after EOF ignored\n",
"\n",
"done\n",
""
),),
Expand Down

0 comments on commit a576313

Please sign in to comment.