diff options
| author | Mike Pritchard <mpp@FreeBSD.org> | 1997-03-18 19:37:41 +0000 |
|---|---|---|
| committer | Mike Pritchard <mpp@FreeBSD.org> | 1997-03-18 19:37:41 +0000 |
| commit | 76918e1ad40a006d2bbcee517eee7f2a19869e8e (patch) | |
| tree | e8279c5a4f3227abd672d8adf7fcce2500cf21ff /usr.bin/file/ascmagic.c | |
| parent | 1c147cc3529fc84269bb31e103e36dbfe428dc2f (diff) | |
Notes
Diffstat (limited to 'usr.bin/file/ascmagic.c')
| -rw-r--r-- | usr.bin/file/ascmagic.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/file/ascmagic.c b/usr.bin/file/ascmagic.c index a7e9437abd29..52f509023160 100644 --- a/usr.bin/file/ascmagic.c +++ b/usr.bin/file/ascmagic.c @@ -35,8 +35,8 @@ #include "names.h" #ifndef lint -static char *moduleid = - "@(#)$Id$"; +static char *moduleid = + "@(#)$Id: ascmagic.c,v 1.1.1.3 1997/03/18 17:58:46 mpp Exp $"; #endif /* lint */ /* an optimisation over plain strcmp() */ @@ -89,6 +89,7 @@ int nbytes; /* size actually read */ } + /* Make sure we are dealing with ascii text before looking for tokens */ for (i = 0; i < nbytes; i++) { if (!isascii(buf[i])) return 0; /* not all ASCII */ |
