diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2019-03-26 19:35:41 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2019-03-26 19:35:41 +0000 |
| commit | ed5e102abb70840db5827b2c7881a76ecf59a717 (patch) | |
| tree | 3b38b2f08cc145032ca85828160f55ea2f7136f2 | |
| parent | 0b208315f493672b5531cd0aa42ac15b1bb2eb13 (diff) | |
Notes
| -rw-r--r-- | lib/libc/gen/fts-compat.c | 4 | ||||
| -rw-r--r-- | lib/libc/gen/fts-compat11.c | 4 | ||||
| -rw-r--r-- | lib/libc/gen/fts.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/gen/fts-compat.c b/lib/libc/gen/fts-compat.c index c5bf060964c2..72e908cea50f 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 5de570a179bb..288351d2008b 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 8d93d8e169b9..d0705e123775 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 |
