diff options
author | Assaf Gordon <assafgordon@gmail.com> | 2015-11-12 05:20:29 -0500 |
---|---|---|
committer | Assaf Gordon <assafgordon@gmail.com> | 2015-11-12 15:17:55 -0500 |
commit | 4c5c6cad85ad67d96df261ec9abdab66590d9ceb (patch) | |
tree | c73bb9ec4a84db74db3c511b19fb6353c5915406 /THANKStt.in | |
parent | 0daa359de8edd09fe2df76cb26c7cef16da52ce3 (diff) | |
download | coreutils-4c5c6cad85ad67d96df261ec9abdab66590d9ceb.tar.xz |
csplit: check and report fwrite errors with errno
discussed in:
http://lists.gnu.org/archive/html/coreutils/2015-10/msg00091.html
* src/csplit.c: (save_line_to_file): check fwrite failures, report
and exit immediately instead of deferring to 'close_output'.
* tests/misc/csplit-io-err.sh: test fwrite failure using LD_PRELOAD.
* tests/local.mk: add new test.
Diffstat (limited to 'THANKStt.in')
0 files changed, 0 insertions, 0 deletions