[enum filetype] (arg_directory): Rather than `100', use

a number that should never conflict with another DT_* value.
From Ulrich Drepper.
This commit is contained in:
Jim Meyering
2000-10-28 18:00:57 +00:00
parent 007b5b4ba8
commit e321b0bd06
+2 -1
View File
@@ -214,7 +214,8 @@ enum filetype
normal = DT_REG,
symbolic_link = DT_LNK,
sock = DT_SOCK,
arg_directory = 100
arg_directory = 2 * (DT_UNKNOWN | DT_FIFO | DT_CHR | DT_DIR | DT_BLK
| DT_REG | DT_LNK | DT_SOCK)
#else
symbolic_link,
directory,