From: Jim Meyering Date: Sat, 28 Oct 2000 18:00:57 +0000 (+0000) Subject: [enum filetype] (arg_directory): Rather than `100', use X-Git-Tag: SH-UTILS-2_0_11~16 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=e321b0bd0678aaac601900bd3b156bd3974bdee3;p=thirdparty%2Fcoreutils.git [enum filetype] (arg_directory): Rather than `100', use a number that should never conflict with another DT_* value. From Ulrich Drepper. --- diff --git a/src/ls.c b/src/ls.c index 4959783040..9a509417ca 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,