Home GnuPG
Diffusion GnuPG 512c56af4302

common: Speedup closing fds before an exec.
512c56af4302Unpublished

Unpublished Commit · Learn More

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

Description

common: Speedup closing fds before an exec.

* common/exechelp-posix.c [__linux__]: Include dirent.h.
(get_max_fds) [__linux__]: Return the actual used highest fd.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 27 2016, 10:02 PM
Parents
rGad75ca9c963b: tools: Improve debug output of rfc822parse.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG512c56af4302: common: Speedup closing fds before an exec. (authored by Werner Koch <wk@gnupg.org>).May 27 2016, 10:02 PM