Searched hist:"6434 dda6e396b0b7e96eb480c9dbd57c10065686" (Results 1 – 1 of 1) sorted by relevance
/freebsd/usr.bin/fetch/ |
H A D | fetch.c | diff 6434dda6e396b0b7e96eb480c9dbd57c10065686 Mon Sep 10 21:39:20 CEST 2018 Dag-Erling Smørgrav <des@FreeBSD.org> Through a combination of insufficient variable initialization and imprudent reuse of static buffers, the end-of-transfer statistics displayed when stdout is not a tty always ended up as 0 B / 0 Bps. Reorganize the code to use caller-provided buffers, tweak the ETA display a bit, and reduce the visual differences between the tty and non-tty end-of-transfer displays.
PR: 202424 Approved by: re (gjb@)
|