We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f9a39b commit 607d72dCopy full SHA for 607d72d
1 file changed
src/uucore/src/lib/features/pipes.rs
@@ -215,6 +215,7 @@ pub fn send_n_bytes(input: impl AsFd, target: impl AsFd, n: u64) -> std::io::Res
215
let mut drain = Vec::with_capacity(s);
216
broker_r.take(s as u64).read_to_end(&mut drain)?;
217
RawWriter(&target).write_all(&drain)?;
218
+ bytes_written += s as u64;
219
break true;
220
}
221
0 commit comments