From 8f6c176324c8aeb0753af315a27d6c385a60f8ae Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Sat, 12 Mar 2011 18:13:54 +0000 Subject: [PATCH] Make comment match reality: ascmagic no longer matches keywords. --- src/ascmagic.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/ascmagic.c b/src/ascmagic.c index d3738a4d..c1c6650e 100644 --- a/src/ascmagic.c +++ b/src/ascmagic.c @@ -26,8 +26,7 @@ * SUCH DAMAGE. */ /* - * ASCII magic -- file types that we know based on keywords - * that can appear anywhere in the file. + * ASCII magic -- try to detect text encoding. * * Extensively modified by Eric Fischer in July, 2000, * to handle character codes other than ASCII on a unified basis. @@ -36,7 +35,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: ascmagic.c,v 1.78 2011/02/03 01:43:33 christos Exp $") +FILE_RCSID("@(#)$File: ascmagic.c,v 1.79 2011/02/10 02:22:58 christos Exp $") #endif /* lint */ #include "magic.h" @@ -277,7 +276,7 @@ subtype_identified: break; } } - + if (file_printf(ms, "%s", code) == -1) goto done; -- 2.40.0