Upgrade to file-4.18.
[dragonfly.git] / contrib / file-4 / ChangeLog
1 2006-10-31 15:14 Christos Zoulas <christos@zoulas.com>
2
3         * Check offset before copying (Mike Frysinger)
4
5         * merge duplicated code
6
7         * add quad date support
8
9         * make sure that we nul terminate desc (Ryoji Kanai)
10
11         * don't process elf notes multiple times
12
13         * allow -z to report empty compressed files
14
15         * use calloc to initialize the ascii buffers (Jos van den Oever)
16
17 2006-06-08 11:11 Christos Zoulas <christos@zoulas.com>
18
19         * QNX fixes (Mike Gorchak)
20
21         * Add quad support.
22
23         * FIFO checks (Dr. Werner Fink)
24
25         * Linux ELF fixes (Dr. Werner Fink)
26
27         * Magic format checks (Dr. Werner Fink)
28
29         * Magic format function improvent (Karl Chen)
30
31 2006-05-03 11:11 Christos Zoulas <christos@zoulas.com>
32
33         * Pick up some elf changes and some constant fixes from SUSE
34
35         * Identify gnu tar vs. posix tar
36
37         * When keep going, don't print spurious newlines (Radek Vokál)
38
39 2006-04-01 12:02 Christos Zoulas <christos@zoulas.com>
40
41         * Use calloc instead of malloc (Mike Frysinger)
42
43         * Fix configure script to detect wctypes.h (Mike Frysinger)
44
45 2006-03-02 16:06 Christos Zoulas <christos@zoulas.com>
46
47         * Print empty if the file is (Mike Frysinger)
48
49         * Don't try to read past the end of the buffer (Mike Frysinger)
50
51         * Sort magic entries by strength [experimental]
52
53 2005-11-29 13:26 Christos Zoulas <christos@zoulas.com>
54
55         * Use iswprint() to convert the output string.
56             (Bastien Nocera)
57
58 2005-10-31 8:54 Christos Zoulas <christos@zoulas.com>
59
60         * Fix regression where the core info was not completely processed
61             (Radek Vokál)
62
63 2005-10-20 11:15 Christos Zoulas <christos@zoulas.com>
64
65         * Middle Endian magic (Diomidis Spinellis)
66
67 2005-10-17 11:15 Christos Zoulas <christos@zoulas.com>
68
69         * Open with O_BINARY for CYGWIN (Corinna Vinschen)
70
71         * Don't close stdin (Arkadiusz Miskiewicz)
72
73         * Look for note sections in non executables.
74
75 2005-09-20 13:33 Christos Zoulas <christos@zoulas.com>
76         
77         * Don't print SVR4 Style in core files multiple times
78             (Radek Vokál)
79
80 2005-08-27 04:09 Christos Zoulas <christos@zoulas.com>
81
82         * Cygwin changes Corinna Vinschen
83
84 2005-08-18 09:53 Christos Zoulas <christos@zoulas.com>
85
86         * Remove erroreous mention of /etc/magic in the file man page
87           This is gentoo bug 101639. (Mike Frysinger) 
88
89         * Cross-compile support and detection (Mike Frysinger) 
90
91 2005-08-12 10:17 Christos Zoulas <christos@zoulas.com>
92
93         * Add -h flag and dereference symlinks if POSIXLY_CORRECT
94           is set.
95
96 2005-07-29 13:57 Christos Zoulas <christos@zoulas.com>
97
98         * Avoid search and regex buffer overflows (Kelledin)
99
100 2005-07-12 11:48 Christos Zoulas <christos@zoulas.com>
101
102         * Provide stub implementations for {v,}nsprintf() for older
103           OS's that don't have them.
104         * Change mbstate_t autoconf detection macro from AC_MBSTATE_T
105           to AC_TYPE_MBSTATE_T.
106
107 2005-06-25 11:48 Christos Zoulas <christos@zoulas.com>
108
109         * Dynamically allocate the string buffers and make the
110           default read size 256K.
111
112 2005-06-01 00:00 Joerg Sonnenberger <joerg@britannica.bec.de>
113
114         * Dragonfly ELF note support
115
116 2005-03-14 00:00 Giuliano Bertoletti <gb@symbolic.it>
117
118         * Avoid NULL pointer dereference in time conversion.
119
120 2005-03-06 00:00  Joerg Walter <jwalt@mail.garni.ch>
121         
122         * Add indirect magic offset support, and search mode.
123
124 2005-01-12 00:00  Stepan Kasal  <kasal@ucw.cz>
125
126         * src/ascmagic.c (file_ascmagic): Fix three bugs about text files:
127           If a CRLF text file happens to have CR at offset HOWMANY - 1
128           (currently 0xffff), it should not be counted as CR line
129           terminator.
130           If a line has length exactly MAXLINELEN, it should not yet be
131           treated as a ``very long line'', as MAXLINELEN is ``longest sane
132           line length''.
133           With CRLF, the line length was not computed correctly, and even
134           lines of length MAXLINELEN - 1 were treated as ``very long''.
135
136 2004-12-07 14:15  Christos Zoulas  <christos@zoulas.com>
137
138         * bzip2 needs a lot of input buffer space on some files
139           before it can begin uncompressing. This makes file -z
140           fail on some bz2 files. Fix it by giving it a copy of
141           the file descriptor to read as much as it wants if we
142           have access to it. <christos@zoulas.com>
143
144 2004-11-24 12:39  Christos Zoulas  <christos@zoulas.com>
145
146         * Stack smash fix, and ELF more conservative reading.
147           Jakub Bogusz <qboosh@pld-linux.org>
148
149 2004-11-20 18:50  Christos Zoulas  <christos@zoulas.com>
150
151         * New FreeBSD version parsing code:
152           Jon Noack <noackjr@alumni.rice.edu>
153
154         * Hackish support for ucs16 strings <christos@zoulas.com>
155
156 2004-11-13 03:07  Christos Zoulas  <christos@zoulas.com>
157
158         * print the file name and line number in syntax errors.
159
160 2004 10-12 10:50  Christos Zoulas  <christos@zoulas.com>
161
162         * Fix stack overwriting on 0 length strings: Tim Waugh
163             <twaugh@redhat.com> Ned Ludd <solar@gentoo.org>
164
165 2004-09-27 11:30  Christos Zoulas  <christos@zoulas.com>
166
167         * Remove 3rd and 4th copyright clause; approved by Ian Darwin.
168
169         * Fix small memory leaks; caught by: Tamas Sarlos 
170             <stamas@csillag.ilab.sztaki.hu>
171
172 2004-07-24 16:33  Christos Zoulas  <christos@zoulas.com>
173
174         * magic.mime update Danny Milosavljevic <danny.milo@gmx.net> 
175
176         * FreeBSD version update Oliver Eikemeier <eikemeier@fillmore-labs.com>
177
178         * utime/utimes detection Ian Lance Taylor <ian@wasabisystems.com>
179
180         * errors reading elf magic Jakub Bogusz <qboosh@pld-linux.org>
181
182 2004-04-12 10:55  Christos Zoulas  <christos@zoulas.com>
183
184         * make sure that magic formats match magic types during compilation
185
186         * fix broken sgi magic file
187
188 2004-04-06 20:36  Christos Zoulas  <christos@zoulas.com>
189
190         * detect present of mbstate_t Petter Reinholdtsen <pere@hungry.com>
191
192         * magic fixes
193
194 2004-03-22 15:25  Christos Zoulas  <christos@zoulas.com>
195
196         * Lots of mime fixes
197           (Joerg Ostertag) <ostertag@rechengilde.de>
198
199         * FreeBSD ELF version handling
200           (Edwin Groothuis) <edwin@mavetju.org>
201
202         * correct cleanup in all cases; don't just close the file.
203           (Christos Zoulas) <christos@zoulas.com>
204
205         * add gettext message catalogue support
206           (Michael Piefel) <piefel@debian.org>
207
208         * better printout for unreadable files
209           (Michael Piefel) <piefel@debian.org>
210
211         * compensate for missing MAXPATHLEN
212           (Michael Piefel) <piefel@debian.org>
213
214         * add wide character string length computation
215           (Michael Piefel) <piefel@debian.org>
216
217         * Avoid infinite loops caused by bad elf alignments
218           or name and description note sizes. Reported by
219           (Mikael Magnusson) <mmikael@comhem.se>
220
221 2004-03-09 13:55  Christos Zoulas  <christos@zoulas.com>
222
223         * Fix possible memory leak on error and add missing regfree
224           (Dmitry V. Levin) <ldv@altlinux.org>
225
226 2003-12-23 12:12  Christos Zoulas  <christos@zoulas.com>
227
228         * fix -k flag (Maciej W. Rozycki)
229
230 2003-11-18 14:10  Christos Zoulas  <christos@zoulas.com>
231
232         * Try to give us much info as possible on corrupt elf files.
233           (Willy Tarreau) <willy@w.ods.org>
234         * Updated python bindings (Brett Funderburg)
235            <brettf@deepfile.com>
236
237 2003-11-11 15:03  Christos Zoulas  <christos@zoulas.com>
238
239         * Include file.h first, because it includes config.h
240           breaks largefile test macros otherwise.
241           (Paul Eggert <eggert@CS.UCLA.EDU> via
242            Lars Hecking <lhecking@nmrc.ie>)
243
244 2003-10-14 21:39  Christos Zoulas  <christos@zoulas.com>
245
246         * Python bindings (Brett Funderburg) <brettf@deepfile.com>
247         * Don't lookup past the end of the buffer
248           (Chad Hanson) <chanson@tcs-sec.com>
249         * Add MAGIC_ERROR and api on magic_errno()
250
251 2003-10-08 12:40  Christos Zoulas  <christos@zoulas.com>
252
253         * handle error conditions from compile as fatal
254           (Antti Kantee) <pooka@netbsd.org>
255         * handle magic filename parsing sanely
256         * more magic fixes.
257         * fix a memory leak (Illes Marton) <illes.marton@balabit.hu>
258         * describe magic file handling
259           (Bryan Henderson) <bryanh@giraffe-data.com>
260
261 2003-09-12 15:09  Christos Zoulas  <christos@zoulas.com>
262
263         * update magic files.
264         * remove largefile support from file.h; it breaks things on most OS's
265
266 2003-08-10 10:25  Christos Zoulas  <christos@zoulas.com>
267
268         * fix unmapping'ing of mmaped files.
269
270 2003-07-10 12:03  Christos Zoulas  <christos@zoulas.com>
271
272         * don't exit with -1 on error; always exit 1 (Marty Leisner)
273         * restore utimes code.
274
275 2003-06-10 17:03  Christos Zoulas  <christos@zoulas.com>
276
277         * make sure we don't access uninitialized memory.
278         * pass lint
279         * #ifdef __cplusplus in magic.h
280
281 2003-05-25 19:23  Christos Zoulas  <christos@zoulas.com>
282
283         * rename cvs magic file to revision to deal with
284           case insensitive filesystems.
285
286 2003-05-23 17:03  Christos Zoulas  <christos@zoulas.com>
287
288         * documentation fixes from Michael Piefel <piefel@debian.org>
289         * magic fixes (various)
290         * revert basename magic in .mgc name determination
291         * buffer protection in uncompress,
292           signness issues,
293           close files
294           Maciej W. Rozycki <macro@ds2.pg.gda.pl
295
296 2003-04-21 20:12  Christos Zoulas  <christos@zoulas.com>
297
298         * fix zsh magic
299
300 2003-04-04 16:59  Christos Zoulas  <christos@zoulas.com>
301
302         * fix operand sort order in string.
303
304 2003-04-02 17:30  Christos Zoulas  <christos@zoulas.com>
305
306         * cleanup namespace in magic.h
307
308 2003-04-02 13:50  Christos Zoulas  <christos@zoulas.com>
309
310         * Magic additions (Alex Ott)
311         * Fix bug that broke VPATH compilation (Peter Breitenlohner)
312
313 2003-03-28 16:03  Christos Zoulas  <christos@zoulas.com>
314
315         * remove packed attribute from magic struct.
316         * make the magic struct properly aligned.
317         * bump version number of compiled files to 2.
318
319 2003-03-27 13:10  Christos Zoulas  <christos@zoulas.com>
320
321         * separate tar detection and run it before softmagic.
322         * fix reversed symlink test.
323         * fix version printing.
324         * make separator a string instead of a char.
325         * update manual page and sort options.
326
327 2003-03-26 11:00  Christos Zoulas  <christos@zoulas.com>
328
329         * Pass lint
330         * make NULL in magic_file mean stdin
331         * Fix "-" argument to file to pass NULL to magic_file
332         * avoid pointer casts by using memcpy
333         * rename magic_buf -> magic_buffer
334         * keep only the first error
335         * manual page: new sentence, new line
336         * fix typo in api function (magic_buf -> magic_buffer)