]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cut: promptly diagnose write errors, continued
authorDragan Simic <dsimic@manjaro.org>
Tue, 1 Aug 2023 09:07:41 +0000 (11:07 +0200)
committerPádraig Brady <P@draigBrady.com>
Tue, 1 Aug 2023 14:34:50 +0000 (15:34 +0100)
commit7783df863a9cb9c4946b4f219992edaef2252ffe
tree441785b6c78bbedfd7bd2d993fed66bf9cd63210
parent10dcb0b1253836e54ba90a658c84df967fe73df7
cut: promptly diagnose write errors, continued

* src/cut.c: Complete the error-handling improvements started in
commit e0a4a60af5, by adding a couple of remaining checks for putchar().
While there, sprinkle a few rather useful comments, and perform a few
small code cleanups, to make the code and the comments more uniform
and more conformant to the official coding style.  Also make the help
message slightly more uniform.
src/cut.c