diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-08-03 21:10:53 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-08-03 21:10:53 +0530 |
commit | 45caed9d67a00af917d8b5b88d4b5eb1225b7aef (patch) | |
tree | f760c079b88c59fc1a9872ce5755d7a04cf73696 /support/xposix_memalign.c | |
parent | 1e0e6d656db9dfa12ef7eb67976385d3deb0d4ff (diff) | |
download | glibc-45caed9d67a00af917d8b5b88d4b5eb1225b7aef.tar.gz glibc-45caed9d67a00af917d8b5b88d4b5eb1225b7aef.tar.xz 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/xposix_memalign.c')
0 files changed, 0 insertions, 0 deletions