Speedup closing of fds before exec.
authorWerner Koch <wk@gnupg.org>
Fri, 27 May 2016 20:19:35 +0000 (22:19 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 27 May 2016 20:19:35 +0000 (22:19 +0200)
commit89d22f9229f2ecd559ac6ea91dae60eeff940fa5
tree060c6929740d67a21c523955a6a7dbc80646b211
parent3915842657f0849a038752fd7445f96081a89dd9
Speedup closing of fds before exec.

* src/posix-io.c [__linux__]: Include dirent.h.
(get_max_fds) [__linux__]: Try to figure out the highest used fd.
--

Signed-off-by: Werner Koch <wk@gnupg.org>
src/posix-io.c