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:
parent
0b208315f4
commit
ed5e102abb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345552
@ -647,9 +647,9 @@ fts_build(FTS *sp, int type)
|
|||||||
*/
|
*/
|
||||||
#ifdef FTS_WHITEOUT
|
#ifdef FTS_WHITEOUT
|
||||||
if (ISSET(FTS_WHITEOUT))
|
if (ISSET(FTS_WHITEOUT))
|
||||||
oflag = DTF_NODUP | DTF_REWIND;
|
oflag = DTF_NODUP;
|
||||||
else
|
else
|
||||||
oflag = DTF_HIDEW | DTF_NODUP | DTF_REWIND;
|
oflag = DTF_HIDEW | DTF_NODUP;
|
||||||
#else
|
#else
|
||||||
#define __opendir2(path, flag) opendir(path)
|
#define __opendir2(path, flag) opendir(path)
|
||||||
#endif
|
#endif
|
||||||
|
@ -644,9 +644,9 @@ fts_build(FTS11 *sp, int type)
|
|||||||
*/
|
*/
|
||||||
#ifdef FTS_WHITEOUT
|
#ifdef FTS_WHITEOUT
|
||||||
if (ISSET(FTS_WHITEOUT))
|
if (ISSET(FTS_WHITEOUT))
|
||||||
oflag = DTF_NODUP | DTF_REWIND;
|
oflag = DTF_NODUP;
|
||||||
else
|
else
|
||||||
oflag = DTF_HIDEW | DTF_NODUP | DTF_REWIND;
|
oflag = DTF_HIDEW | DTF_NODUP;
|
||||||
#else
|
#else
|
||||||
#define __opendir2(path, flag) opendir(path)
|
#define __opendir2(path, flag) opendir(path)
|
||||||
#endif
|
#endif
|
||||||
|
@ -641,9 +641,9 @@ fts_build(FTS *sp, int type)
|
|||||||
*/
|
*/
|
||||||
#ifdef FTS_WHITEOUT
|
#ifdef FTS_WHITEOUT
|
||||||
if (ISSET(FTS_WHITEOUT))
|
if (ISSET(FTS_WHITEOUT))
|
||||||
oflag = DTF_NODUP | DTF_REWIND;
|
oflag = DTF_NODUP;
|
||||||
else
|
else
|
||||||
oflag = DTF_HIDEW | DTF_NODUP | DTF_REWIND;
|
oflag = DTF_HIDEW | DTF_NODUP;
|
||||||
#else
|
#else
|
||||||
#define __opendir2(path, flag) opendir(path)
|
#define __opendir2(path, flag) opendir(path)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user