DTF_REWIND does nothing (since r247236) so retire its use

Reviewed by:	cem
Differential Revision:	https://reviews.freebsd.org/D19663
This commit is contained in:
Ed Maste 2019-03-26 19:35:41 +00:00
parent 0b208315f4
commit ed5e102abb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345552
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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