diff options
author | Bruno Haible <bruno@clisp.org> | 2020-05-28 21:48:13 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-05-28 21:48:13 +0200 |
commit | 708c76165712d6cbad59379b7e039870f81ca63c (patch) | |
tree | eea01e42de733e7e7bc6ef1894818b3d196b7b63 /modules/fts | |
parent | f274e136db89f184964d0a8cc74dffec51f2086f (diff) | |
download | gnulib-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/fts | 1 |
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 |