From e321b0bd0678aaac601900bd3b156bd3974bdee3 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 28 Oct 2000 18:00:57 +0000 Subject: [enum filetype] (arg_directory): Rather than `100', use a number that should never conflict with another DT_* value. From Ulrich Drepper. --- src/ls.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/ls.c b/src/ls.c index 495978304..9a509417c 100644 --- a/src/ls.c +++ b/src/ls.c @@ -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, -- cgit v1.2.3-54-g00ecf