diff options
author | Julian Andres Klode <jak@debian.org> | 2015-05-25 16:45:05 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2015-05-25 16:53:07 +0200 |
commit | 870a2b6d683e58c0584bbd3614a76cf25a055928 (patch) | |
tree | 10a376d7ee1c25241bf81e8b029068c169055a71 /apt-pkg/indexcopy.h | |
parent | ba95c69681dee8a0ae12ba635e56414820ee9113 (diff) |
ExecFork: Use /proc/self/fd to determine which files to close
This significantly reduces the number of files that have to be closed
and seems to be faster, despite the additional reads.
On systems where /proc/self/fd is not available, we fallback to the
old code that closes all file descriptors >= 3.
Closes: #764204
Diffstat (limited to 'apt-pkg/indexcopy.h')
0 files changed, 0 insertions, 0 deletions