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 /scripts/git-hooks/commit-msg | |
| parent | stat: improve support for new Linux pseudo FS and ACFS (diff) | |
| download | coreutils-4c5c6cad85ad67d96df261ec9abdab66590d9ceb.tar.gz coreutils-4c5c6cad85ad67d96df261ec9abdab66590d9ceb.zip | |
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 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions
