Update to file 4.13. Put the contrib files into contrib/file-4 instead
[dragonfly.git] / contrib / file-4 / ChangeLog
blobd5f0ba7ddad3717e2a65d1924b7b813a252193d4
1 2005-01-12 00:00  Stepan Kasal  <kasal@ucw.cz>
3         * src/ascmagic.c (file_ascmagic): Fix three bugs about text files:
4           If a CRLF text file happens to have CR at offset HOWMANY - 1
5           (currently 0xffff), it should not be counted as CR line
6           terminator.
7           If a line has length exactly MAXLINELEN, it should not yet be
8           treated as a ``very long line'', as MAXLINELEN is ``longest sane
9           line length''.
10           With CRLF, the line length was not computed correctly, and even
11           lines of length MAXLINELEN - 1 were treated as ``very long''.
13 2004-12-07 14:15  Christos Zoulas  <christos@zoulas.com>
15         * bzip2 needs a lot of input buffer space on some files
16           before it can begin uncompressing. This makes file -z
17           fail on some bz2 files. Fix it by giving it a copy of
18           the file descriptor to read as much as it wants if we
19           have access to it. <christos@zoulas.com>
21 2004-11-24 12:39  Christos Zoulas  <christos@zoulas.com>
23         * Stack smash fix, and ELF more conservative reading.
24           Jakub Bogusz <qboosh@pld-linux.org>
26 2004-11-20 18:50  Christos Zoulas  <christos@zoulas.com>
28         * New FreeBSD version parsing code:
29           Jon Noack <noackjr@alumni.rice.edu>
31         * Hackish support for ucs16 strings <christos@zoulas.com>
33 2004-11-13 03:07  Christos Zoulas  <christos@zoulas.com>
35         * print the file name and line number in syntax errors.
37 2004 10-12 10:50  Christos Zoulas  <christos@zoulas.com>
39         * Fix stack overwriting on 0 length strings: Tim Waugh
40             <twaugh@redhat.com> Ned Ludd <solar@gentoo.org>
42 2004-09-27 11:30  Christos Zoulas  <christos@zoulas.com>
44         * Remove 3rd and 4th copyright clause; approved by Ian Darwin.
46         * Fix small memory leaks; caught by: Tamas Sarlos 
47             <stamas@csillag.ilab.sztaki.hu>
49 2004-07-24 16:33  Christos Zoulas  <christos@zoulas.com>
51         * magic.mime update Danny Milosavljevic <danny.milo@gmx.net> 
53         * FreeBSD version update Oliver Eikemeier <eikemeier@fillmore-labs.com>
55         * utime/utimes detection Ian Lance Taylor <ian@wasabisystems.com>
57         * errors reading elf magic Jakub Bogusz <qboosh@pld-linux.org>
59 2004-04-12 10:55  Christos Zoulas  <christos@zoulas.com>
61         * make sure that magic formats match magic types during compilation
63         * fix broken sgi magic file
65 2004-04-06 20:36  Christos Zoulas  <christos@zoulas.com>
67         * detect present of mbstate_t Petter Reinholdtsen <pere@hungry.com>
69         * magic fixes
71 2004-03-22 15:25  Christos Zoulas  <christos@zoulas.com>
73         * Lots of mime fixes
74           (Joerg Ostertag) <ostertag@rechengilde.de>
76         * FreeBSD ELF version handling
77           (Edwin Groothuis) <edwin@mavetju.org>
79         * correct cleanup in all cases; don't just close the file.
80           (Christos Zoulas) <christos@zoulas.com>
82         * add gettext message catalogue support
83           (Michael Piefel) <piefel@debian.org>
85         * better printout for unreadable files
86           (Michael Piefel) <piefel@debian.org>
88         * compensate for missing MAXPATHLEN
89           (Michael Piefel) <piefel@debian.org>
91         * add wide character string length computation
92           (Michael Piefel) <piefel@debian.org>
94         * Avoid infinite loops caused by bad elf alignments
95           or name and description note sizes. Reported by
96           (Mikael Magnusson) <mmikael@comhem.se>
98 2004-03-09 13:55  Christos Zoulas  <christos@zoulas.com>
100         * Fix possible memory leak on error and add missing regfree
101           (Dmitry V. Levin) <ldv@altlinux.org>
103 2003-12-23 12:12  Christos Zoulas  <christos@zoulas.com>
105         * fix -k flag (Maciej W. Rozycki)
107 2003-11-18 14:10  Christos Zoulas  <christos@zoulas.com>
109         * Try to give us much info as possible on corrupt elf files.
110           (Willy Tarreau) <willy@w.ods.org>
111         * Updated python bindings (Brett Funderburg)
112            <brettf@deepfile.com>
114 2003-11-11 15:03  Christos Zoulas  <christos@zoulas.com>
116         * Include file.h first, because it includes config.h
117           breaks largefile test macros otherwise.
118           (Paul Eggert <eggert@CS.UCLA.EDU> via
119            Lars Hecking <lhecking@nmrc.ie>)
121 2003-10-14 21:39  Christos Zoulas  <christos@zoulas.com>
123         * Python bindings (Brett Funderburg) <brettf@deepfile.com>
124         * Don't lookup past the end of the buffer
125           (Chad Hanson) <chanson@tcs-sec.com>
126         * Add MAGIC_ERROR and api on magic_errno()
128 2003-10-08 12:40  Christos Zoulas  <christos@zoulas.com>
130         * handle error conditions from compile as fatal
131           (Antti Kantee) <pooka@netbsd.org>
132         * handle magic filename parsing sanely
133         * more magic fixes.
134         * fix a memory leak (Illes Marton) <illes.marton@balabit.hu>
135         * describe magic file handling
136           (Bryan Henderson) <bryanh@giraffe-data.com>
138 2003-09-12 15:09  Christos Zoulas  <christos@zoulas.com>
140         * update magic files.
141         * remove largefile support from file.h; it breaks things on most OS's
143 2003-08-10 10:25  Christos Zoulas  <christos@zoulas.com>
145         * fix unmapping'ing of mmaped files.
147 2003-07-10 12:03  Christos Zoulas  <christos@zoulas.com>
149         * don't exit with -1 on error; always exit 1 (Marty Leisner)
150         * restore utimes code.
152 2003-06-10 17:03  Christos Zoulas  <christos@zoulas.com>
154         * make sure we don't access uninitialized memory.
155         * pass lint
156         * #ifdef __cplusplus in magic.h
158 2003-05-25 19:23  Christos Zoulas  <christos@zoulas.com>
160         * rename cvs magic file to revision to deal with
161           case insensitive filesystems.
163 2003-05-23 17:03  Christos Zoulas  <christos@zoulas.com>
165         * documentation fixes from Michael Piefel <piefel@debian.org>
166         * magic fixes (various)
167         * revert basename magic in .mgc name determination
168         * buffer protection in uncompress,
169           signness issues,
170           close files
171           Maciej W. Rozycki <macro@ds2.pg.gda.pl
173 2003-04-21 20:12  Christos Zoulas  <christos@zoulas.com>
175         * fix zsh magic
177 2003-04-04 16:59  Christos Zoulas  <christos@zoulas.com>
179         * fix operand sort order in string.
181 2003-04-02 17:30  Christos Zoulas  <christos@zoulas.com>
183         * cleanup namespace in magic.h
185 2003-04-02 13:50  Christos Zoulas  <christos@zoulas.com>
187         * Magic additions (Alex Ott)
188         * Fix bug that broke VPATH compilation (Peter Breitenlohner)
190 2003-03-28 16:03  Christos Zoulas  <christos@zoulas.com>
192         * remove packed attribute from magic struct.
193         * make the magic struct properly aligned.
194         * bump version number of compiled files to 2.
196 2003-03-27 13:10  Christos Zoulas  <christos@zoulas.com>
198         * separate tar detection and run it before softmagic.
199         * fix reversed symlink test.
200         * fix version printing.
201         * make separator a string instead of a char.
202         * update manual page and sort options.
204 2003-03-26 11:00  Christos Zoulas  <christos@zoulas.com>
206         * Pass lint
207         * make NULL in magic_file mean stdin
208         * Fix "-" argument to file to pass NULL to magic_file
209         * avoid pointer casts by using memcpy
210         * rename magic_buf -> magic_buffer
211         * keep only the first error
212         * manual page: new sentence, new line
213         * fix typo in api function (magic_buf -> magic_buffer)