summaryrefslogtreecommitdiff
path: root/modules/fts
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-09-02 14:44:51 -0600
committerEric Blake <ebb9@byu.net>2009-09-02 20:35:45 -0600
commitcd98e9dbd7d4a480aef908745ce7c65ceb5299d4 (patch)
tree84ce4cb62fb993c8d08c754c388ee02edb653569 /modules/fts
parentb4b4678297df055617c13530d8d455ea95cc1e50 (diff)
downloadgnulib-cd98e9dbd7d4a480aef908745ce7c65ceb5299d4.tar.gz
fts: avoid leaking fds
* modules/fts (Depends-on): Add cloexec. * lib/fts.c (opendirat, diropen, fts_build): Set close-on-exec flag. Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'modules/fts')
-rw-r--r--modules/fts1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/fts b/modules/fts
index f80a827db5..9509557b71 100644
--- a/modules/fts
+++ b/modules/fts
@@ -8,6 +8,7 @@ lib/fts-cycle.c
m4/fts.m4
Depends-on:
+cloexec
cycle-check
d-ino
d-type