Commit Graph

9 Commits

Author SHA1 Message Date
Wes Peters
1f20fb8802 Vastly improve the speed of the file command by making
the expected size of the magic(5) database agree with the
real world.  Also, improve the behavior of the realloc
mechanism when the magic database does exceed expectations.

Reviewed by:	Peter Jeremy, Matt Dillon
Obtained from:	Peter Edwards <peter.edwards@isocor.ie>
1999-07-22 01:22:08 +00:00
Philippe Charnier
76cd8d66fe Add rcsid. RU#. Use err(3) instead of local redefinition. Convert man page to
mdoc format. Add usage(). Remove rcs $ Log $ -> use cvs log instead.
1998-01-28 07:36:25 +00:00
Mike Pritchard
76918e1ad4 Merge to resolve conflicts with file 3.22 merge. 1997-03-18 19:37:41 +00:00
Peter Wemm
53faa0dade Revert $FreeBSD$ to $Id$ 1997-02-22 19:29:21 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Joerg Wunsch
97857d5a23 Add another matching algorithhm to do heuristics for international
language text files.

Should finally close PR # bin/1925: file does not consider cyrillic
text..., though i've never got any response from the originator about
my suggestion.

While i was at it, also move out the `magic' file to /usr/share/misc,
there's nothing that magic with this file to justify its life under
/etc.
1996-12-11 14:09:12 +00:00
Mike Pritchard
a0f4ffca81 Merged changes to resolve conflicts with file 3.19 import. 1996-01-23 12:40:36 +00:00
Rodney W. Grimes
7799f52a32 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
Geoff Rehmet
c7510038dc Bring in file 3.14 by Ian Darwin (and Christos Zoulas)
The following files were moved to different names:
- file.man -> file.1
- magic.man -> magic.5

The following file was removed:
- Magdir/Makefile
1994-09-03 19:16:28 +00:00