summaryrefslogtreecommitdiff
path: root/t/t5100
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2021-09-09 23:45:29 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-09-09 17:40:02 -0700
commitd9a65b6c0a9171a3ff636e59a3e435eda8f50e5b (patch)
tree974210918a8662b0f70ac6a7825b2703eba2e203 /t/t5100
parentGit 2.33 (diff)
downloadtgif-d9a65b6c0a9171a3ff636e59a3e435eda8f50e5b.tar.xz
setup: use xopen and xdup in sanitize_stdfds
Replace the catch-all error message with specific ones for opening and duplicating by calling the wrappers xopen and xdup. The code becomes easier to follow when error handling is reduced to two letters. Remove the unnecessary mode parameter while at it -- we expect /dev/null to already exist. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100')
0 files changed, 0 insertions, 0 deletions