summaryrefslogtreecommitdiff
path: root/apt-private/private-download.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2015-05-25 16:45:05 +0200
committerJulian Andres Klode <jak@debian.org>2015-08-11 14:03:53 +0200
commitbe4d908fb5d56f8a331bb88e878a6fb8d82a77a6 (patch)
tree17650ca2ab881486c7add1e8474ee0a8db5c8aca /apt-private/private-download.cc
parenta0a4d1433a42d581697adacb1c3c095df4b23a56 (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-private/private-download.cc')
0 files changed, 0 insertions, 0 deletions