]> git.ipfire.org Git - thirdparty/glibc.git/commit
support: Close fds in copy_func
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Wed, 12 May 2021 04:43:41 +0000 (10:13 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Thu, 13 May 2021 02:37:20 +0000 (08:07 +0530)
commit75fe6d1a1620d84e0e487868feba9b2c0f109610
tree09c0dcb9684c5907ad5711508b54d3fdeaa1b593
parent7eeb05a3958407675d3c4c5351d8ed7738156fbf
support: Close fds in copy_func

copy_func may leave file descriptors open on error, so close them on
function exit.
support/shell-container.c