From: Ian Darwin Date: Fri, 28 Aug 1987 21:47:46 +0000 (+0000) Subject: Make printf of suid/sgid/etc be the default (gc won't like it). X-Git-Tag: FILE3_27~419 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=124d9771f720b8d9a742e8b860235e5b36d92b7e;p=file Make printf of suid/sgid/etc be the default (gc won't like it). --- diff --git a/src/fsmagic.c b/src/fsmagic.c index 588c6591..ee2454c4 100644 --- a/src/fsmagic.c +++ b/src/fsmagic.c @@ -43,11 +43,9 @@ char *fn; return -1; } -#ifdef PRINT_STAT_BITS if (statbuf.st_mode & S_ISUID) ckfputs("suid ", stdout); if (statbuf.st_mode & S_ISGID) ckfputs("sgid ", stdout); if (statbuf.st_mode & S_ISVTX) ckfputs("sticky ", stdout); -#endif /* PRINT_STAT_BITS */ switch (statbuf.st_mode & S_IFMT) { case S_IFDIR: