]> git.ipfire.org Git - thirdparty/coreutils.git/commit
nl: promptly diagnose write errors
authorPádraig Brady <P@draigBrady.com>
Wed, 22 Oct 2025 15:31:15 +0000 (16:31 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 22 Oct 2025 15:32:34 +0000 (16:32 +0100)
commit9415cf01c639788e414f63f7ae5e0231844df6d8
treed88bca586eedc24bfd4ffce84a3a01c4f5f2e915
parentc12a2ecb53e9c141e705a2e4645de5201237a1f6
nl: promptly diagnose write errors

* NEWS: Mention the improvement.
* src/nl.c (process_file): Exit if error outputting line.
* tests/misc/write-errors.sh: Enable the test case.
NEWS
src/nl.c
tests/misc/write-errors.sh