Skip to content

Commit

Permalink
bzip2.rs: remove flushing of stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
folkertdev committed Nov 12, 2024
1 parent a576313 commit e1d0328
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bzip2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1298,7 +1298,6 @@ unsafe fn compress(name: *mut c_char) {
if verbosity >= 1 as libc::c_int {
eprint!(" {}: ", CStr::from_ptr(inName.as_ptr()).to_string_lossy(),);
pad(inName.as_mut_ptr());
let _ = std::io::stderr().flush();
}
outputHandleJustInCase = outStr;
delete_output_on_interrupt = true;
Expand Down Expand Up @@ -1553,7 +1552,6 @@ unsafe fn uncompress(name: Option<String>) {
if verbosity >= 1 {
eprint!(" {}: ", in_name.display(),);
pad(inName.as_mut_ptr());
let _ = std::io::stderr().flush();
}

/*--- Now the input and output handles are sane. Do the Biz. ---*/
Expand Down Expand Up @@ -1706,7 +1704,6 @@ unsafe fn testf(name: Option<String>) {
if verbosity >= 1 {
eprint!(" {}: ", in_name.display());
pad(inName.as_mut_ptr());
let _ = std::io::stderr().flush();
}
outputHandleJustInCase = std::ptr::null_mut::<FILE>();
let allOK = testStream(inStr);
Expand Down

0 comments on commit e1d0328

Please sign in to comment.