svn commit: r345552 - head/lib/libc/gen
Ed Maste
emaste at FreeBSD.org
Tue Mar 26 19:35:43 UTC 2019
Author: emaste
Date: Tue Mar 26 19:35:41 2019
New Revision: 345552
URL: https://svnweb.freebsd.org/changeset/base/345552
Log:
DTF_REWIND does nothing (since r247236) so retire its use
Reviewed by: cem
Differential Revision: https://reviews.freebsd.org/D19663
Modified:
head/lib/libc/gen/fts-compat.c
head/lib/libc/gen/fts-compat11.c
head/lib/libc/gen/fts.c
Modified: head/lib/libc/gen/fts-compat.c
==============================================================================
--- head/lib/libc/gen/fts-compat.c Tue Mar 26 19:11:15 2019 (r345551)
+++ head/lib/libc/gen/fts-compat.c Tue Mar 26 19:35:41 2019 (r345552)
@@ -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
Modified: head/lib/libc/gen/fts-compat11.c
==============================================================================
--- head/lib/libc/gen/fts-compat11.c Tue Mar 26 19:11:15 2019 (r345551)
+++ head/lib/libc/gen/fts-compat11.c Tue Mar 26 19:35:41 2019 (r345552)
@@ -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
Modified: head/lib/libc/gen/fts.c
==============================================================================
--- head/lib/libc/gen/fts.c Tue Mar 26 19:11:15 2019 (r345551)
+++ head/lib/libc/gen/fts.c Tue Mar 26 19:35:41 2019 (r345552)
@@ -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
More information about the svn-src-all
mailing list