summaryrefslogtreecommitdiff
path: root/modules/fts
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-05-28 21:48:13 +0200
committerBruno Haible <bruno@clisp.org>2020-05-28 21:48:13 +0200
commit708c76165712d6cbad59379b7e039870f81ca63c (patch)
treeeea01e42de733e7e7bc6ef1894818b3d196b7b63 /modules/fts
parentf274e136db89f184964d0a8cc74dffec51f2086f (diff)
downloadgnulib-708c76165712d6cbad59379b7e039870f81ca63c.tar.gz
fts: Make more robust in multithreaded applications.
* lib/fts.c (fts_open): Pass an O_CLOEXEC flag to open(). * modules/fts (Depends-on): Add 'open'.
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 480700b1ca..b06d5b8321 100644
--- a/modules/fts
+++ b/modules/fts
@@ -22,6 +22,7 @@ hash
i-ring
lstat
memmove
+open
openat-h
opendir
opendirat