summaryrefslogtreecommitdiff
path: root/t/perf/p5310-pack-bitmaps.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-02-27 13:57:18 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-02-27 13:57:18 -0800
commit3f7ebc6ece46f1c23480d094688b8b5f24eb345c (patch)
tree1c03f40032ba3d6af427a10ffd412f368bb01641 /t/perf/p5310-pack-bitmaps.sh
parentMerge branch 'vn/xdiff-func-context' (diff)
parenttempfile: set errno to a known value before calling ferror() (diff)
downloadtgif-3f7ebc6ece46f1c23480d094688b8b5f24eb345c.tar.xz
Merge branch 'jk/tempfile-ferror-fclose-confusion'
A caller of tempfile API that uses stdio interface to write to files may ignore errors while writing, which is detected when tempfile is closed (with a call to ferror()). By that time, the original errno that may have told us what went wrong is likely to be long gone and was overwritten by an irrelevant value. close_tempfile() now resets errno to EIO to make errno at least predictable. * jk/tempfile-ferror-fclose-confusion: tempfile: set errno to a known value before calling ferror()
Diffstat (limited to 't/perf/p5310-pack-bitmaps.sh')
0 files changed, 0 insertions, 0 deletions