From e1d0328eab55df4a75d45bb32ddb573b9ec4e6f4 Mon Sep 17 00:00:00 2001 From: Folkert de Vries Date: Tue, 12 Nov 2024 11:42:58 +0100 Subject: [PATCH] `bzip2.rs`: remove flushing of stderr --- bzip2.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/bzip2.rs b/bzip2.rs index accba91cf..a924d9f51 100644 --- a/bzip2.rs +++ b/bzip2.rs @@ -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; @@ -1553,7 +1552,6 @@ unsafe fn uncompress(name: Option) { 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. ---*/ @@ -1706,7 +1704,6 @@ unsafe fn testf(name: Option) { if verbosity >= 1 { eprint!(" {}: ", in_name.display()); pad(inName.as_mut_ptr()); - let _ = std::io::stderr().flush(); } outputHandleJustInCase = std::ptr::null_mut::(); let allOK = testStream(inStr);