Home GnuPG

Speedup closing fds before an exec.
e64f9a4af5a3Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Speedup closing fds before an exec.

* src/system-posix.c [__linux__]: Include dirent.h.
(get_max_fds) [__linux__]: Return the actual used highest fd.

This is the same code as introduced with the
GnuPG commit 512c56af43027149e8beacf259746b8d7bf9b1a2

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jul 13 2016, 3:33 PM
Parents
rA70bb71e51462: Fix distcheck.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rAe64f9a4af5a3: Speedup closing fds before an exec. (authored by Werner Koch <wk@gnupg.org>).Jul 13 2016, 3:33 PM