]> git.ipfire.org Git - thirdparty/coreutils.git/commit
fmt: correctly diagnose read errors
authorPádraig Brady <P@draigBrady.com>
Tue, 13 Jan 2026 02:01:11 +0000 (02:01 +0000)
committerPádraig Brady <P@draigBrady.com>
Tue, 13 Jan 2026 15:08:03 +0000 (15:08 +0000)
commit495e3528d7c3a9e9e1fc793efecb749b40f130af
treed2afeda78970896ed46ddb5b9aef9be862036c1e
parent06d228043f4bbf056d1d33f7fd2b4a39259ab5ae
fmt: correctly diagnose read errors

* src/fmt.c (fmt): Pass errno to error() so that
the particular error is diagnosed.
* NEWS: Mention the improvement.
NEWS
src/fmt.c