diff options
| author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-08-03 21:10:53 +0530 |
|---|---|---|
| committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2021-08-04 15:53:46 +0530 |
| commit | 7ff4da3dc26de351a5abe7c2905038cbe55c8041 (patch) | |
| tree | 05b8c0c77e453ae8b025624065de207507531681 /scripts | |
| parent | a5bd2e10e0c25b80286dc36068e22a4cb4893af0 (diff) | |
| download | glibc-7ff4da3dc26de351a5abe7c2905038cbe55c8041.tar.xz glibc-7ff4da3dc26de351a5abe7c2905038cbe55c8041.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>
(cherry picked from commit 45caed9d67a00af917d8b5b88d4b5eb1225b7aef)
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
