aboutsummaryrefslogtreecommitdiff
path: root/support/tst-xreadlink.c
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2021-08-03 21:10:53 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2021-08-03 21:10:53 +0530
commit45caed9d67a00af917d8b5b88d4b5eb1225b7aef (patch)
treef760c079b88c59fc1a9872ce5755d7a04cf73696 /support/tst-xreadlink.c
parent1e0e6d656db9dfa12ef7eb67976385d3deb0d4ff (diff)
downloadglibc-45caed9d67a00af917d8b5b88d4b5eb1225b7aef.tar
glibc-45caed9d67a00af917d8b5b88d4b5eb1225b7aef.tar.gz
glibc-45caed9d67a00af917d8b5b88d4b5eb1225b7aef.tar.bz2
glibc-45caed9d67a00af917d8b5b88d4b5eb1225b7aef.zip
copy_and_spawn_sgid: Avoid double calls to close()
If close() on infd and outfd succeeded, reset the fd numbers so that we don't attempt to close them again. Reviewed-by: Arjun Shankar <arjun@redhat.com>
Diffstat (limited to 'support/tst-xreadlink.c')
0 files changed, 0 insertions, 0 deletions