From: Christos Zoulas Date: Thu, 7 Feb 2008 03:10:20 +0000 (+0000) Subject: don't use c99 features X-Git-Tag: FILE5_05~527 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=934b638e9a1e2d9490c93c7acb92a4f6f9be133b;p=file don't use c99 features --- diff --git a/src/ascmagic.c b/src/ascmagic.c index c26cf7f5..94468a82 100644 --- a/src/ascmagic.c +++ b/src/ascmagic.c @@ -49,7 +49,7 @@ #include "names.h" #ifndef lint -FILE_RCSID("@(#)$File: ascmagic.c,v 1.56 2008/02/07 03:05:02 christos Exp $") +FILE_RCSID("@(#)$File: ascmagic.c,v 1.57 2008/02/07 03:10:20 christos Exp $") #endif /* lint */ typedef unsigned long unichar; @@ -571,7 +571,7 @@ looks_utf8_with_header(const unsigned char *buf, size_t nbytes, unichar *ubuf, if (nbytes > 3 && buf[0] == 0xef && buf[1] == 0xbb && buf[2] == 0xbf) return looks_utf8(buf + 3, nbytes - 3, ubuf, ulen); else - return false; + return 0; } private int