summaryrefslogtreecommitdiff
path: root/t/t3007-ls-files-recurse-submodules.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-03-21 15:03:28 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-21 15:03:28 -0700
commitf63df942a3f4245970192161dab259922819e3b5 (patch)
treeff1d6a0dc1219487ca8daf7fe6f660574a5d05b9 /t/t3007-ls-files-recurse-submodules.sh
parentMerge branch 'rl/remote-allow-missing-branch-name-merge' into maint (diff)
parenttempfile: set errno to a known value before calling ferror() (diff)
downloadtgif-f63df942a3f4245970192161dab259922819e3b5.tar.xz
Merge branch 'jk/tempfile-ferror-fclose-confusion' into maint
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/t3007-ls-files-recurse-submodules.sh')
0 files changed, 0 insertions, 0 deletions