From: Christos Zoulas Date: Thu, 9 Oct 2008 17:19:11 +0000 (+0000) Subject: correct exclude issues from Randy McMurchy X-Git-Tag: FILE5_05~324 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53ca903af051c346e6ed48d7bc92f99378265f6a;p=file correct exclude issues from Randy McMurchy --- diff --git a/doc/file.man b/doc/file.man index 197700f6..efabc727 100644 --- a/doc/file.man +++ b/doc/file.man @@ -1,4 +1,4 @@ -.\" $File: file.man,v 1.73 2008/02/19 17:58:00 rrt Exp $ +.\" $File: file.man,v 1.74 2008/10/09 17:19:11 christos Exp $ .Dd February 19, 2008 .Dt FILE __CSECTION__ .Os @@ -192,7 +192,7 @@ Don't look for fortran sequences inside ascii files. Don't consult magic files. .It tar Don't examine tar files. -.It token +.It tokens Don't look for known tokens inside ascii files. .It troff Don't look for troff sequences inside ascii files. diff --git a/src/file.c b/src/file.c index cebdaafa..91081a0b 100644 --- a/src/file.c +++ b/src/file.c @@ -74,7 +74,7 @@ int getopt_long(int argc, char * const *argv, const char *optstring, const struc #include "patchlevel.h" #ifndef lint -FILE_RCSID("@(#)$File: file.c,v 1.122 2008/10/01 14:30:45 christos Exp $") +FILE_RCSID("@(#)$File: file.c,v 1.123 2008/10/09 17:19:12 christos Exp $") #endif /* lint */ @@ -148,9 +148,11 @@ main(int argc, char *argv[]) { "ascii", MAGIC_NO_CHECK_ASCII }, { "compress", MAGIC_NO_CHECK_COMPRESS }, { "elf", MAGIC_NO_CHECK_ELF }, + { "fortran", MAGIC_NO_CHECK_FORTRAN }, { "soft", MAGIC_NO_CHECK_SOFT }, { "tar", MAGIC_NO_CHECK_TAR }, { "tokens", MAGIC_NO_CHECK_TOKENS }, + { "troff", MAGIC_NO_CHECK_TROFF }, }; /* makes islower etc work for other langs */