summaryrefslogtreecommitdiff
path: root/t/t5100/msg0008
diff options
context:
space:
mode:
authorLibravatar Eric Wong <e@80x24.org>2017-07-15 18:55:40 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-07-17 14:52:16 -0700
commit9fb9495dae744098a6eb16f62b4876c87b2c773f (patch)
treebd4652321688c09f0c09aa442d88d43632c7e9fd /t/t5100/msg0008
parentgit_open_cloexec(): use fcntl(2) w/ FD_CLOEXEC fallback (diff)
downloadtgif-9fb9495dae744098a6eb16f62b4876c87b2c773f.tar.xz
set FD_CLOEXEC properly when O_CLOEXEC is not supported
FD_CLOEXEC only applies to the file descriptor, so it needs to be manipuluated via F_GETFD/F_SETFD. F_GETFL/F_SETFL are for file description flags. Verified via strace with o_cloexec set to zero. Signed-off-by: Eric Wong <e@80x24.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5100/msg0008')
0 files changed, 0 insertions, 0 deletions