[Bug 296861] du(1) SIGINFO handler writes to stdout
[email protected] Fri, 17 Jul 2026 19:20:21 +0000
| Newsgroups | gmane.os.freebsd.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296861
Bug ID: 296861
Summary: du(1) SIGINFO handler writes to stdout
Product: Base System
Version: 14.4-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
The SIGINFO handler for the du(1) command writes its informational output to
stdout, contaminating the output stream, which may be being piped to another
program that does not expect it, or redirected to a file, such that it cannot
be seen on the controlling terminal from which the SIGINFO was sent.
Rather than printing SIGINFO results to stdout, commands should either print to
stderr, or open and print to /dev/tty.
--
You are receiving this mail because:
You are the assignee for the bug.