summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-03-26 19:35:41 +0000
committerEd Maste <emaste@FreeBSD.org>2019-03-26 19:35:41 +0000
commited5e102abb70840db5827b2c7881a76ecf59a717 (patch)
tree3b38b2f08cc145032ca85828160f55ea2f7136f2
parent0b208315f493672b5531cd0aa42ac15b1bb2eb13 (diff)
Notes
-rw-r--r--lib/libc/gen/fts-compat.c4
-rw-r--r--lib/libc/gen/fts-compat11.c4
-rw-r--r--lib/libc/gen/fts.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/gen/fts-compat.c b/lib/libc/gen/fts-compat.c
index c5bf060964c25..72e908cea50fd 100644
--- a/lib/libc/gen/fts-compat.c
+++ b/lib/libc/gen/fts-compat.c
@@ -647,9 +647,9 @@ fts_build(FTS *sp, int type)
*/
#ifdef FTS_WHITEOUT
if (ISSET(FTS_WHITEOUT))
- oflag = DTF_NODUP | DTF_REWIND;
+ oflag = DTF_NODUP;
else
- oflag = DTF_HIDEW | DTF_NODUP | DTF_REWIND;
+ oflag = DTF_HIDEW | DTF_NODUP;
#else
#define __opendir2(path, flag) opendir(path)
#endif
diff --git a/lib/libc/gen/fts-compat11.c b/lib/libc/gen/fts-compat11.c
index 5de570a179bb9..288351d2008b4 100644
--- a/lib/libc/gen/fts-compat11.c
+++ b/lib/libc/gen/fts-compat11.c
@@ -644,9 +644,9 @@ fts_build(FTS11 *sp, int type)
*/
#ifdef FTS_WHITEOUT
if (ISSET(FTS_WHITEOUT))
- oflag = DTF_NODUP | DTF_REWIND;
+ oflag = DTF_NODUP;
else
- oflag = DTF_HIDEW | DTF_NODUP | DTF_REWIND;
+ oflag = DTF_HIDEW | DTF_NODUP;
#else
#define __opendir2(path, flag) opendir(path)
#endif
diff --git a/lib/libc/gen/fts.c b/lib/libc/gen/fts.c
index 8d93d8e169b92..d0705e1237758 100644
--- a/lib/libc/gen/fts.c
+++ b/lib/libc/gen/fts.c
@@ -641,9 +641,9 @@ fts_build(FTS *sp, int type)
*/
#ifdef FTS_WHITEOUT
if (ISSET(FTS_WHITEOUT))
- oflag = DTF_NODUP | DTF_REWIND;
+ oflag = DTF_NODUP;
else
- oflag = DTF_HIDEW | DTF_NODUP | DTF_REWIND;
+ oflag = DTF_HIDEW | DTF_NODUP;
#else
#define __opendir2(path, flag) opendir(path)
#endif