common: Simplify the fd closing patch 512c56a.
authorWerner Koch <wk@gnupg.org>
Fri, 27 May 2016 20:22:37 +0000 (22:22 +0200)
committerWerner Koch <wk@gnupg.org>
Fri, 27 May 2016 20:22:37 +0000 (22:22 +0200)
commite6d9a2d07ed7aeac3944d8a7d1317c4a117356b4
treeb48aad8f55d1a8074e54504be2d686209a73424a
parent512c56af43027149e8beacf259746b8d7bf9b1a2
common: Simplify the fd closing patch 512c56a.

* common/exechelp-posix.c (get_max_fds): Use /proc/self.

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