diff options
author | Simon Ruderich <simon@ruderich.org> | 2017-11-01 15:45:42 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-02 13:39:13 +0900 |
commit | 9360ec0002369f3194cc5ac75ec50dab4979c988 (patch) | |
tree | 8227ae17780a1aa0e9f7216eef10b55dcabbb7c1 /t/t4034/csharp | |
parent | sequencer: use O_TRUNC to truncate files (diff) | |
download | tgif-9360ec0002369f3194cc5ac75ec50dab4979c988.tar.xz |
sequencer.c: check return value of close() in rewrite_file()
Not checking close(2) can hide errors as not all errors are reported
during the write(2).
Signed-off-by: Simon Ruderich <simon@ruderich.org>
Reviewed-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4034/csharp')
0 files changed, 0 insertions, 0 deletions