xref: /minix3/external/bsd/file/dist/ChangeLog (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc2015-01-02  15:15  Christos Zoulas <christos@zoulas.com>
2*0a6a1f1dSLionel Sambuc
3*0a6a1f1dSLionel Sambuc	* release 5.22
4*0a6a1f1dSLionel Sambuc
5*0a6a1f1dSLionel Sambuc2015-01-01  12:01  Christos Zoulas <christos@zoulas.com>
6*0a6a1f1dSLionel Sambuc
7*0a6a1f1dSLionel Sambuc	* add indirect relative for TIFF/Exif
8*0a6a1f1dSLionel Sambuc
9*0a6a1f1dSLionel Sambuc2014-12-16  18:10  Christos Zoulas <christos@zoulas.com>
10*0a6a1f1dSLionel Sambuc
11*0a6a1f1dSLionel Sambuc	* restructure elf note printing to avoid repeated messages
12*0a6a1f1dSLionel Sambuc	* add note limit, suggested by Alexander Cherepanov
13*0a6a1f1dSLionel Sambuc
14*0a6a1f1dSLionel Sambuc2014-12-16  16:53  Christos Zoulas <christos@zoulas.com>
15*0a6a1f1dSLionel Sambuc
16*0a6a1f1dSLionel Sambuc	* Bail out on partial pread()'s (Alexander Cherepanov)
17*0a6a1f1dSLionel Sambuc	* Fix incorrect bounds check in file_printable (Alexander Cherepanov)
18*0a6a1f1dSLionel Sambuc
19*0a6a1f1dSLionel Sambuc2014-12-11  20:01  Christos Zoulas <christos@zoulas.com>
20*0a6a1f1dSLionel Sambuc
21*0a6a1f1dSLionel Sambuc	* PR/405: ignore SIGPIPE from uncompress programs
22*0a6a1f1dSLionel Sambuc	* change printable -> file_printable and use it in
23*0a6a1f1dSLionel Sambuc	  more places for safety
24*0a6a1f1dSLionel Sambuc	* in ELF, instead of "(uses dynamic libraries)" when PT_INTERP
25*0a6a1f1dSLionel Sambuc	  is present print the interpreter name.
26*0a6a1f1dSLionel Sambuc
27*0a6a1f1dSLionel Sambuc2014-12-10  20:01  Christos Zoulas <christos@zoulas.com>
28*0a6a1f1dSLionel Sambuc
29*0a6a1f1dSLionel Sambuc	* release 5.21
30*0a6a1f1dSLionel Sambuc
31*0a6a1f1dSLionel Sambuc2014-11-27  18:40  Christos Zoulas <christos@zoulas.com>
32*0a6a1f1dSLionel Sambuc
33*0a6a1f1dSLionel Sambuc	* Allow setting more parameters from the command line.
34*0a6a1f1dSLionel Sambuc	* Split name/use and indirect magic recursion limits.
35*0a6a1f1dSLionel Sambuc
36*0a6a1f1dSLionel Sambuc2014-11-27  11:12  Christos Zoulas <christos@zoulas.com>
37*0a6a1f1dSLionel Sambuc
38*0a6a1f1dSLionel Sambuc	* Adjust ELF parameters and the default recursion
39*0a6a1f1dSLionel Sambuc	  level.
40*0a6a1f1dSLionel Sambuc	* Allow setting the recursion level dynamically.
41*0a6a1f1dSLionel Sambuc
42*0a6a1f1dSLionel Sambuc2014-11-24   8:55  Christos Zoulas <christos@zoulas.com>
43*0a6a1f1dSLionel Sambuc
44*0a6a1f1dSLionel Sambuc	* The following fixes resulted from Thomas Jarosch's fuzzing
45*0a6a1f1dSLionel Sambuc	  tests that revealed severe performance issues on pathological
46*0a6a1f1dSLionel Sambuc	  input:
47*0a6a1f1dSLionel Sambuc	    - limit number of elf program and sections processing
48*0a6a1f1dSLionel Sambuc	    - abort elf note processing quickly
49*0a6a1f1dSLionel Sambuc	    - reduce the number of recursion levels from 20 to 10
50*0a6a1f1dSLionel Sambuc	    - preserve error messages in indirect magic handling
51*0a6a1f1dSLionel Sambuc
52*0a6a1f1dSLionel Sambuc	This is tracked as CVE-2014-8116 and CVE-2014-8117
53*0a6a1f1dSLionel Sambuc
54*0a6a1f1dSLionel Sambuc2014-11-12  10:30  Christos Zoulas <christos@zoulas.com>
55*0a6a1f1dSLionel Sambuc
56*0a6a1f1dSLionel Sambuc	* fix bogus free in the user buffer case.
57*0a6a1f1dSLionel Sambuc
58*0a6a1f1dSLionel Sambuc2014-11-11  12:35  Christos Zoulas <christos@zoulas.com>
59*0a6a1f1dSLionel Sambuc
60*0a6a1f1dSLionel Sambuc	* fix out of bounds read for pascal strings
61*0a6a1f1dSLionel Sambuc	* fix memory leak (not freeing the head of each mlist)
62*0a6a1f1dSLionel Sambuc
63*0a6a1f1dSLionel Sambuc2014-11-07  10:25  Christos Zoulas <christos@zoulas.com>
64*0a6a1f1dSLionel Sambuc
65*0a6a1f1dSLionel Sambuc	* When printing strings from a file, convert them to printable
66*0a6a1f1dSLionel Sambuc	  on a byte by byte basis, so that we don't get issues with
67*0a6a1f1dSLionel Sambuc	  locale's trying to interpret random byte streams as UTF-8 and
68*0a6a1f1dSLionel Sambuc	  having printf error out with EILSEQ.
69*0a6a1f1dSLionel Sambuc
70*0a6a1f1dSLionel Sambuc2014-10-17  11:48  Christos Zoulas <christos@zoulas.com>
71*0a6a1f1dSLionel Sambuc
72*0a6a1f1dSLionel Sambuc	* fix bounds in note reading (Francisco Alonso / Red Hat)
73*0a6a1f1dSLionel Sambuc
74*0a6a1f1dSLionel Sambuc2014-10-11  15:02  Christos Zoulas <christos@zoulas.com>
75*0a6a1f1dSLionel Sambuc
76*0a6a1f1dSLionel Sambuc	* fix autoconf glue for setlocale and locale_t; some OS's
77*0a6a1f1dSLionel Sambuc	  have locale_t in xlocale.h
78*0a6a1f1dSLionel Sambuc
79*0a6a1f1dSLionel Sambuc2014-10-10  15:01  Christos Zoulas <christos@zoulas.com>
80*0a6a1f1dSLionel Sambuc
81*0a6a1f1dSLionel Sambuc	* release 5.20
82*0a6a1f1dSLionel Sambuc
83*0a6a1f1dSLionel Sambuc2014-08-17  10:01  Christos Zoulas <christos@zoulas.com>
84*0a6a1f1dSLionel Sambuc
85*0a6a1f1dSLionel Sambuc	* recognize encrypted CDF documents
86*0a6a1f1dSLionel Sambuc
87*0a6a1f1dSLionel Sambuc2014-08-04   9:18  Christos Zoulas <christos@zoulas.com>
88*0a6a1f1dSLionel Sambuc
89*0a6a1f1dSLionel Sambuc	* add magic_load_buffers from Brooks Davis
90*0a6a1f1dSLionel Sambuc
91*0a6a1f1dSLionel Sambuc2014-07-24  16:40  Christos Zoulas <christos@zoulas.com>
92*0a6a1f1dSLionel Sambuc
93*0a6a1f1dSLionel Sambuc	* add thumbs.db support
94*0a6a1f1dSLionel Sambuc
95*0a6a1f1dSLionel Sambuc2014-06-12  12:28  Christos Zoulas <christos@zoulas.com>
96*0a6a1f1dSLionel Sambuc
97*0a6a1f1dSLionel Sambuc	* release 5.19
98*0a6a1f1dSLionel Sambuc
99*0a6a1f1dSLionel Sambuc2014-06-09   9:04  Christos Zoulas <christos@zoulas.com>
100*0a6a1f1dSLionel Sambuc
101*0a6a1f1dSLionel Sambuc	* Misc buffer overruns and missing buffer size tests in cdf parsing
102*0a6a1f1dSLionel Sambuc	  (Francisco Alonso, Jan Kaluza)
103*0a6a1f1dSLionel Sambuc
104*0a6a1f1dSLionel Sambuc2014-06-02  14:50  Christos Zoulas <christos@zoulas.com>
105*0a6a1f1dSLionel Sambuc
106*0a6a1f1dSLionel Sambuc	* Enforce limit of 8K on regex searches that have no limits
107*0a6a1f1dSLionel Sambuc	* Allow the l modifier for regex to mean line count. Default
108*0a6a1f1dSLionel Sambuc	  to byte count. If line count is specified, assume a max
109*0a6a1f1dSLionel Sambuc	  of 80 characters per line to limit the byte count.
110*0a6a1f1dSLionel Sambuc	* Don't allow conversions to be used for dates, allowing
111*0a6a1f1dSLionel Sambuc	  the mask field to be used as an offset.
112*0a6a1f1dSLionel Sambuc
113*0a6a1f1dSLionel Sambuc2014-05-30  12:51  Christos Zoulas <christos@zoulas.com>
114*0a6a1f1dSLionel Sambuc
115*0a6a1f1dSLionel Sambuc	* Make the range operator limit the length of the
116*0a6a1f1dSLionel Sambuc	  regex search.
117*0a6a1f1dSLionel Sambuc
118*0a6a1f1dSLionel Sambuc2014-05-14  19:23  Christos Zoulas <christos@zoulas.com>
119*0a6a1f1dSLionel Sambuc
120*0a6a1f1dSLionel Sambuc	* PR/347: Windows fixes
121*0a6a1f1dSLionel Sambuc	* PR/352: Hangul word processor recognition
122*0a6a1f1dSLionel Sambuc	* PR/354: Encoding irregularities in text files
123*0a6a1f1dSLionel Sambuc
124*0a6a1f1dSLionel Sambuc2014-05-06  6:12  Christos Zoulas <christos@zoulas.com>
125*0a6a1f1dSLionel Sambuc
126*0a6a1f1dSLionel Sambuc	* Fix uninitialized title in CDF files (Jan Kaluza)
127*0a6a1f1dSLionel Sambuc
128*0a6a1f1dSLionel Sambuc2014-05-04  14:55  Christos Zoulas <christos@zoulas.com>
129*0a6a1f1dSLionel Sambuc
130*0a6a1f1dSLionel Sambuc	* PR/351: Fix compilation of empty files
131*0a6a1f1dSLionel Sambuc
132*0a6a1f1dSLionel Sambuc2014-04-30  17:39  Christos Zoulas <christos@zoulas.com>
133*0a6a1f1dSLionel Sambuc
134*0a6a1f1dSLionel Sambuc	* Fix integer formats: We don't specify 'l' or
135*0a6a1f1dSLionel Sambuc	  'h' and 'hh' specifiers anymore, only 'll' for
136*0a6a1f1dSLionel Sambuc	  quads and nothing for the rest. This is so that
137*0a6a1f1dSLionel Sambuc	  magic writing is simpler.
138*0a6a1f1dSLionel Sambuc
139*0a6a1f1dSLionel Sambuc2014-04-01  15:25  Christos Zoulas <christos@zoulas.com>
140*0a6a1f1dSLionel Sambuc
141*0a6a1f1dSLionel Sambuc	* PR/341: Jan Kaluza, fix memory leak
142*0a6a1f1dSLionel Sambuc	* PR/342: Jan Kaluza, fix out of bounds read
143*0a6a1f1dSLionel Sambuc
144*0a6a1f1dSLionel Sambuc2014-03-28  15:25  Christos Zoulas <christos@zoulas.com>
145*0a6a1f1dSLionel Sambuc
146*0a6a1f1dSLionel Sambuc	* Fix issue with long formats not matching fmtcheck
147*0a6a1f1dSLionel Sambuc
148*0a6a1f1dSLionel Sambuc2014-03-26  11:25  Christos Zoulas <christos@zoulas.com>
149*0a6a1f1dSLionel Sambuc
150*0a6a1f1dSLionel Sambuc	* release 5.18
151*0a6a1f1dSLionel Sambuc
152*0a6a1f1dSLionel Sambuc2014-03-15  17:45  Christos Zoulas <christos@zoulas.com>
153*0a6a1f1dSLionel Sambuc
154*0a6a1f1dSLionel Sambuc	* add fmtcheck(3) for those who don't have it
155*0a6a1f1dSLionel Sambuc
156*0a6a1f1dSLionel Sambuc2014-03-14  15:12  Christos Zoulas <christos@zoulas.com>
157*0a6a1f1dSLionel Sambuc
158*0a6a1f1dSLionel Sambuc	* prevent mime entries from being attached to magic
159*0a6a1f1dSLionel Sambuc	  entries with no descriptions
160*0a6a1f1dSLionel Sambuc
161*0a6a1f1dSLionel Sambuc	* adjust magic strength for regex type
162*0a6a1f1dSLionel Sambuc
163*0a6a1f1dSLionel Sambuc	* remove superfluous ascmagic with encoding test
164*0a6a1f1dSLionel Sambuc
165*0a6a1f1dSLionel Sambuc2014-03-06  12:01  Christos Zoulas <christos@zoulas.com>
166*0a6a1f1dSLionel Sambuc
167*0a6a1f1dSLionel Sambuc	* fix regression fix echo -ne "\012\013\014" | file -i -
168*0a6a1f1dSLionel Sambuc	  which printed "binary" instead of "application/octet-stream"
169*0a6a1f1dSLionel Sambuc
170*0a6a1f1dSLionel Sambuc	* add size_t overflow check for magic file size
171*0a6a1f1dSLionel Sambuc
172*0a6a1f1dSLionel Sambuc2014-02-27  16:01  Christos Zoulas <christos@zoulas.com>
173*0a6a1f1dSLionel Sambuc
174*0a6a1f1dSLionel Sambuc	* experimental support for matching with CFD CLSID
175*0a6a1f1dSLionel Sambuc
176*0a6a1f1dSLionel Sambuc2014-02-18  13:04  Kimmo Suominen (kimmo@suominen.com)
177*0a6a1f1dSLionel Sambuc
178*0a6a1f1dSLionel Sambuc	* Cache old LC_CTYPE locale before setting it to "C", so
179*0a6a1f1dSLionel Sambuc	  we can use it to restore LC_CTYPE instead of asking
180*0a6a1f1dSLionel Sambuc	  setlocale() to scan the environment variables.
181*0a6a1f1dSLionel Sambuc
182*0a6a1f1dSLionel Sambuc2014-02-12  18:21  Christos Zoulas <christos@zoulas.com>
183*0a6a1f1dSLionel Sambuc
184*0a6a1f1dSLionel Sambuc	* Count recursion levels through indirect magic
185*0a6a1f1dSLionel Sambuc
186*0a6a1f1dSLionel Sambuc2014-02-11  10:40  Christos Zoulas <christos@zoulas.com>
187*0a6a1f1dSLionel Sambuc
188*0a6a1f1dSLionel Sambuc	* Prevent infinite recursion on files with indirect offsets of 0
189*0a6a1f1dSLionel Sambuc
190*0a6a1f1dSLionel Sambuc2014-01-30  21:00  Christos Zoulas <christos@zoulas.com>
191*0a6a1f1dSLionel Sambuc
192*0a6a1f1dSLionel Sambuc	* Add -E flag that makes file print filesystem errors to stderr
193*0a6a1f1dSLionel Sambuc	  and exit.
194*0a6a1f1dSLionel Sambuc
195*0a6a1f1dSLionel Sambuc2014-01-08  17:20  Christos Zoulas <christos@zoulas.com>
196*0a6a1f1dSLionel Sambuc
197*0a6a1f1dSLionel Sambuc	* mime printing could print results from multiple magic entries
198*0a6a1f1dSLionel Sambuc	  if there were multiple matches.
199*0a6a1f1dSLionel Sambuc	* in some cases overflow was not detected when computing offsets
200*0a6a1f1dSLionel Sambuc	  in softmagic.
201*0a6a1f1dSLionel Sambuc
202*0a6a1f1dSLionel Sambuc2013-12-05  12:00  Christos Zoulas <christos@zoulas.com>
203*0a6a1f1dSLionel Sambuc
204*0a6a1f1dSLionel Sambuc	* use strcasestr() to for cdf strings
205*0a6a1f1dSLionel Sambuc	* reset to the "C" locale while doing regex operations, or case
206*0a6a1f1dSLionel Sambuc	  insensitive comparisons; this is provisional
207*0a6a1f1dSLionel Sambuc
208*0a6a1f1dSLionel Sambuc2013-11-19  20:10  Christos Zoulas <christos@zoulas.com>
209*0a6a1f1dSLionel Sambuc
210*0a6a1f1dSLionel Sambuc	* always leave magic file loaded, don't unload for magic_check, etc.
211*0a6a1f1dSLionel Sambuc	* fix default encoding to binary instead of unknown which broke recently
212*0a6a1f1dSLionel Sambuc	* handle empty and one byte files, less specially so that
213*0a6a1f1dSLionel Sambuc	  --mime-encoding does not break completely.
214*0a6a1f1dSLionel Sambuc		`
215*0a6a1f1dSLionel Sambuc2013-11-06  14:40  Christos Zoulas <christos@zoulas.com>
216*0a6a1f1dSLionel Sambuc
217*0a6a1f1dSLionel Sambuc	* fix erroneous non-zero exit code from non-existant file and message
218*0a6a1f1dSLionel Sambuc
219*0a6a1f1dSLionel Sambuc2013-10-29  14:25  Christos Zoulas <christos@zoulas.com>
220*0a6a1f1dSLionel Sambuc
221*0a6a1f1dSLionel Sambuc	* add CDF MSI file detection (Guy Helmer)
222*0a6a1f1dSLionel Sambuc
223*0a6a1f1dSLionel Sambuc2013-09-03  11:56  Christos Zoulas <christos@zoulas.com>
224*0a6a1f1dSLionel Sambuc
225*0a6a1f1dSLionel Sambuc	* Don't mix errors and regular output if there was an error
226*0a6a1f1dSLionel Sambuc	* in magic_descriptor() don't close the file and try to restore
227*0a6a1f1dSLionel Sambuc	  its position
228*0a6a1f1dSLionel Sambuc
229*0a6a1f1dSLionel Sambuc2013-05-30  17:25  Christos Zoulas <christos@zoulas.com>
230*0a6a1f1dSLionel Sambuc
231*0a6a1f1dSLionel Sambuc	* Don't treat magic as an error if offset was past EOF (Christoph Biedl)
232*0a6a1f1dSLionel Sambuc
233*0a6a1f1dSLionel Sambuc2013-05-28  17:25  Christos Zoulas <christos@zoulas.com>
234*0a6a1f1dSLionel Sambuc
235*0a6a1f1dSLionel Sambuc	* Fix spacing issues in softmagic and elf (Jan Kaluza)
236*0a6a1f1dSLionel Sambuc
237*0a6a1f1dSLionel Sambuc2013-05-02  18:00  Christos Zoulas <christos@zoulas.com>
238*0a6a1f1dSLionel Sambuc
239*0a6a1f1dSLionel Sambuc	* Fix segmentation fault with multiple magic_load commands.
240*0a6a1f1dSLionel Sambuc
241*0a6a1f1dSLionel Sambuc2013-04-22  11:20  Christos Zoulas <christos@zoulas.com>
242*0a6a1f1dSLionel Sambuc
243*0a6a1f1dSLionel Sambuc	* The way "default" was implemented was not very useful
244*0a6a1f1dSLionel Sambuc	  because the "if something was printed at that level"
245*0a6a1f1dSLionel Sambuc	  was not easily controlled by the user, and the format
246*0a6a1f1dSLionel Sambuc	  was bound to a string which is too restrictive. Add
247*0a6a1f1dSLionel Sambuc	  a "clear" for that level keyword and make "default"
248*0a6a1f1dSLionel Sambuc	  void. This way one can do:
249*0a6a1f1dSLionel Sambuc
250*0a6a1f1dSLionel Sambuc		>>13	clear	x
251*0a6a1f1dSLionel Sambuc		>>13	lelong	1	foo
252*0a6a1f1dSLionel Sambuc		>>13	lelong	2	bar
253*0a6a1f1dSLionel Sambuc		>>13	default	x
254*0a6a1f1dSLionel Sambuc		>>>13	lelong	x	unknown %x
255*0a6a1f1dSLionel Sambuc
256*0a6a1f1dSLionel Sambuc2013-03-25  13:20  Christos Zoulas <christos@zoulas.com>
257*0a6a1f1dSLionel Sambuc
258*0a6a1f1dSLionel Sambuc	* disallow strength setting in "name" entries
259*0a6a1f1dSLionel Sambuc
26084d9c625SLionel Sambuc2013-03-06  21:24  Christos Zoulas <christos@zoulas.com>
26184d9c625SLionel Sambuc
26284d9c625SLionel Sambuc	* fix recursive magic separator printing
26384d9c625SLionel Sambuc
26484d9c625SLionel Sambuc2013-02-26  19:28  Christos Zoulas <christos@zoulas.com>
26584d9c625SLionel Sambuc
26684d9c625SLionel Sambuc	* limit recursion level for mget
26784d9c625SLionel Sambuc	* fix pread() related breakage in cdf
26884d9c625SLionel Sambuc	* handle offsets properly in recursive "use"
26984d9c625SLionel Sambuc
27084d9c625SLionel Sambuc2013-02-18  10:39  Christos Zoulas <christos@zoulas.com>
27184d9c625SLionel Sambuc
27284d9c625SLionel Sambuc	* add elf reading of debug info to determine if file is stripped
27384d9c625SLionel Sambuc	  (Jan Kaluza)
27484d9c625SLionel Sambuc	* use pread()
27584d9c625SLionel Sambuc
27684d9c625SLionel Sambuc2013-01-25  18:05  Christos Zoulas <christos@zoulas.com>
27784d9c625SLionel Sambuc
27884d9c625SLionel Sambuc	* change mime description size from 64 to 80 to accommodate OOXML.
27984d9c625SLionel Sambuc
28084d9c625SLionel Sambuc2013-01-11  14:50  Christos Zoulas <christos@zoulas.com>
28184d9c625SLionel Sambuc
28284d9c625SLionel Sambuc	* Warn about inconsistent continuation levels.
28384d9c625SLionel Sambuc	* Change fsmagic to add a space after it prints.
28484d9c625SLionel Sambuc
28584d9c625SLionel Sambuc2013-01-10  21:00  Christos Zoulas <christos@zoulas.com>
28684d9c625SLionel Sambuc
28784d9c625SLionel Sambuc	* Make getline public so that file can link against it.
28884d9c625SLionel Sambuc	  Perhaps it is better to rename it, or hide it differently.
28984d9c625SLionel Sambuc	  Fixes builds on platforms that do not provide it.
29084d9c625SLionel Sambuc
29184d9c625SLionel Sambuc2013-01-07  16:30  Christos Zoulas <christos@zoulas.com>
29284d9c625SLionel Sambuc
29384d9c625SLionel Sambuc	* Add SuS d{,1,2,4,8}, u{,1,2,4,8} and document
29484d9c625SLionel Sambuc	  what long, int, short, etc is (Guy Harris)
29584d9c625SLionel Sambuc
29684d9c625SLionel Sambuc2013-01-06  11:20  Christos Zoulas <christos@zoulas.com>
29784d9c625SLionel Sambuc
29884d9c625SLionel Sambuc	* add magic_version function and constant
29984d9c625SLionel Sambuc	* Redo memory allocation and de-allocation.
30084d9c625SLionel Sambuc	  (prevents double frees on non mmap platforms)
30184d9c625SLionel Sambuc	* Fix bug with name/use having to do with passing
30284d9c625SLionel Sambuc	  found state from the parent to the child and back.
30384d9c625SLionel Sambuc
30484d9c625SLionel Sambuc2012-12-19   8:47  Christos Zoulas <christos@zoulas.com>
30584d9c625SLionel Sambuc
30684d9c625SLionel Sambuc	* Only print elf capabilities for archs we know (Jan Kaluza)
30784d9c625SLionel Sambuc
30884d9c625SLionel Sambuc2012-10-30  19:14  Christos Zoulas <christos@zoulas.com>
30984d9c625SLionel Sambuc
31084d9c625SLionel Sambuc	* Add "name" and "use" file types in order to look
31184d9c625SLionel Sambuc	  inside mach-o files.
31284d9c625SLionel Sambuc
31384d9c625SLionel Sambuc2012-09-06  10:40  Christos Zoulas <christos@zoulas.com>
31484d9c625SLionel Sambuc
31584d9c625SLionel Sambuc	* make --version exit 0 (Matthew Schultz)
31684d9c625SLionel Sambuc	* add string/T (Jan Kaluza)
31784d9c625SLionel Sambuc
31884d9c625SLionel Sambuc2012-08-09  2:15  Christos Zoulas <christos@zoulas.com>
31984d9c625SLionel Sambuc
32084d9c625SLionel Sambuc	* add z and t modifiers for our own vasprintf
32184d9c625SLionel Sambuc	* search for $HOME/.magic.mgc if it is there first
32284d9c625SLionel Sambuc	* fix reads from a pipe, and preserve errno
32384d9c625SLionel Sambuc
32484d9c625SLionel Sambuc2012-05-15  13:12  Christos Zoulas <christos@zoulas.com>
32584d9c625SLionel Sambuc
32684d9c625SLionel Sambuc	* use ctime_r, asctime_r
32784d9c625SLionel Sambuc
32884d9c625SLionel Sambuc2012-04-06  17:18  Christos Zoulas <christos@zoulas.com>
32984d9c625SLionel Sambuc
33084d9c625SLionel Sambuc	* Fixes for indirect offsets to handle apple disk formats
33184d9c625SLionel Sambuc
33284d9c625SLionel Sambuc2012-04-03  18:26  Christos Zoulas <christos@zoulas.com>
33384d9c625SLionel Sambuc
33484d9c625SLionel Sambuc	* Add windows date field types
33584d9c625SLionel Sambuc	* More info for windows shortcuts (incomplete)
33684d9c625SLionel Sambuc
33708ff44c4SLionel Sambuc2012-02-20  17:33  Christos Zoulas <christos@zoulas.com>
33808ff44c4SLionel Sambuc
33908ff44c4SLionel Sambuc	* Fix CDF parsing issues found by CERT's fuzzing tool (Will Dormann)
34008ff44c4SLionel Sambuc
34108ff44c4SLionel Sambuc2011-12-15  12:17  Chris Metcalf <cmetcalf@tilera.com>
34208ff44c4SLionel Sambuc
34308ff44c4SLionel Sambuc	* Support Tilera architectures (tile64, tilepro, tilegx).
34408ff44c4SLionel Sambuc
34508ff44c4SLionel Sambuc2011-12-16  16:33  Reuben Thomas <rrt@sc3d.org>
34608ff44c4SLionel Sambuc
34708ff44c4SLionel Sambuc	* Add magic for /usr/bin/env Perl scripts
34808ff44c4SLionel Sambuc	* Weaken generic script magic to avoid clashing with
34908ff44c4SLionel Sambuc	language-specific magic.
35008ff44c4SLionel Sambuc
35108ff44c4SLionel Sambuc2011-12-08  13:37  Reuben Thomas <rrt@sc3d.org>
35208ff44c4SLionel Sambuc
35308ff44c4SLionel Sambuc	* Simplify if (p) free(p) to free(p).
35408ff44c4SLionel Sambuc
35508ff44c4SLionel Sambuc2011-12-08  13:07  Reuben Thomas <rrt@sc3d.org>
35608ff44c4SLionel Sambuc
35708ff44c4SLionel Sambuc	* Remove hardwired token finding (names.h), turning it into soft
35808ff44c4SLionel Sambuc	magic. Patterns are either anchored regexs or search/8192. English
35908ff44c4SLionel Sambuc	language detection and PL/1 detection have been removed as they
36008ff44c4SLionel Sambuc	were too fragile. -e tokens is still accepted for backwards
36108ff44c4SLionel Sambuc	compatibility.
36208ff44c4SLionel Sambuc	* Move 3ds patterns (which are commented out anyway) into autodesk
36308ff44c4SLionel Sambuc	(they were, oddly, in c-lang).
36408ff44c4SLionel Sambuc
36508ff44c4SLionel Sambuc2011-12-06  00:16  Reuben Thomas <rrt@sc3d.org>
36608ff44c4SLionel Sambuc
36708ff44c4SLionel Sambuc	* Tweak strength of generic hash-bang detectors to be less than
36808ff44c4SLionel Sambuc	specific ones.
36908ff44c4SLionel Sambuc	* Make an inconsistent description of Python scripts consistent.
37008ff44c4SLionel Sambuc
37108ff44c4SLionel Sambuc2011-12-05  23:58  Reuben Thomas <rrt@sc3d.org>
37208ff44c4SLionel Sambuc
37308ff44c4SLionel Sambuc	* Fix minor error in file(1).
37408ff44c4SLionel Sambuc
37508ff44c4SLionel Sambuc2011-11-05  00:00  Reuben Thomas <rrt@sc3d.org>
37608ff44c4SLionel Sambuc
37708ff44c4SLionel Sambuc	* Fix issue #150 (I hope).
37808ff44c4SLionel Sambuc
37908ff44c4SLionel Sambuc2011-09-22  12:57  Christos Zoulas <christos@zoulas.com>
38008ff44c4SLionel Sambuc
38108ff44c4SLionel Sambuc	* Python3 binding fixes from Kelly Anderson
38208ff44c4SLionel Sambuc
38308ff44c4SLionel Sambuc2011-09-20  11:32  Christos Zoulas <christos@zoulas.com>
38408ff44c4SLionel Sambuc
38508ff44c4SLionel Sambuc	* If a string type magic entry is marked as text or binary
38608ff44c4SLionel Sambuc	  only match text files against text entries and binary
38708ff44c4SLionel Sambuc	  files against binary entries.
38808ff44c4SLionel Sambuc
389835f6802SDirk Vogt2011-09-01  12:12  Christos Zoulas <christos@zoulas.com>
390835f6802SDirk Vogt
391835f6802SDirk Vogt	* Don't wait for any subprocess, just the one we forked.
392835f6802SDirk Vogt
393835f6802SDirk Vogt2011-08-26  16:40  Christos Zoulas <christos@zoulas.com>
394835f6802SDirk Vogt
395835f6802SDirk Vogt	* If the application name is not set in a cdf file, try to see
396835f6802SDirk Vogt	  if it has a directory with the application name on it.
397835f6802SDirk Vogt
398835f6802SDirk Vogt2011-08-17  14:32  Christos Zoulas <christos@zoulas.com>
399835f6802SDirk Vogt
400835f6802SDirk Vogt	* Fix ELF lseek(2) madness. Inspired by PR/134 by Jan Kaluza
401835f6802SDirk Vogt
402835f6802SDirk Vogt2011-08-14  09:03  Christos Zoulas <christos@zoulas.com>
403835f6802SDirk Vogt
404835f6802SDirk Vogt	* Don't use variable string formats.
405835f6802SDirk Vogt
406835f6802SDirk Vogt2011-07-12  12:32  Reuben Thomas <rrt@sc3d.org>
407835f6802SDirk Vogt
408835f6802SDirk Vogt	* Fix detection of Zip files (Mantis #128).
409835f6802SDirk Vogt	* Make some minor improvements to file(1).
410835f6802SDirk Vogt	* Rename MIME types for filesystem objects for consistency with
411835f6802SDirk Vogt	  xdg-utils. Typically this means that application/x-foo becomes
412835f6802SDirk Vogt	  inode/foo, but some names also change slightly, e.g.
413835f6802SDirk Vogt	  application/x-character-device becomes inode/chardevice.
414835f6802SDirk Vogt
415835f6802SDirk Vogt2011-05-10  20:57  Christos Zoulas <christos@zoulas.com>
416835f6802SDirk Vogt
417835f6802SDirk Vogt	* fix mingw compilation (Abradoks)
418835f6802SDirk Vogt
419835f6802SDirk Vogt2011-05-10  20:57  Christos Zoulas <christos@zoulas.com>
420835f6802SDirk Vogt
421835f6802SDirk Vogt	* remove patchlevel.h
422835f6802SDirk Vogt	* Fix read past allocated memory caused by double-incrementing
423835f6802SDirk Vogt	  a pointer in a loop (reported by Roberto Maar)
424835f6802SDirk Vogt
425835f6802SDirk Vogt2011-03-30  15:45  Christos Zoulas <christos@zoulas.com>
426835f6802SDirk Vogt
427835f6802SDirk Vogt	* Fix cdf string buffer setting (Sven Anders)
428835f6802SDirk Vogt
429835f6802SDirk Vogt2011-03-20  16:35  Christos Zoulas <christos@zoulas.com>
430835f6802SDirk Vogt
431835f6802SDirk Vogt	* Eliminate MAXPATHLEN and use dynamic allocation for
432835f6802SDirk Vogt	  path and file buffers.
433835f6802SDirk Vogt
434835f6802SDirk Vogt2011-03-15  18:15  Christos Zoulas <christos@zoulas.com>
435835f6802SDirk Vogt
436835f6802SDirk Vogt	* binary tests on magic entries with masks could spuriously
437835f6802SDirk Vogt	  get converted to ascii.
438835f6802SDirk Vogt
439835f6802SDirk Vogt2011-03-12  18:06  Reuben Thomas <rrt@sc3d.org>
440835f6802SDirk Vogt
441835f6802SDirk Vogt	* Improve file.man (remove BUGS, present email addresses consistently).
442835f6802SDirk Vogt
443835f6802SDirk Vogt2011-03-07  19:38  Christos Zoulas <christos@zoulas.com>
444835f6802SDirk Vogt
445835f6802SDirk Vogt	* add lrzip support (from Ville Skytta)
446835f6802SDirk Vogt
447835f6802SDirk Vogt2011-02-10  16:36  Christos Zoulas <christos@zoulas.com>
448835f6802SDirk Vogt
449835f6802SDirk Vogt	* fix CDF bounds checking (Guy Helmer)
450835f6802SDirk Vogt
451835f6802SDirk Vogt2011-02-10  12:03  Christos Zoulas <christos@zoulas.com>
452835f6802SDirk Vogt
453835f6802SDirk Vogt	* add cdf_ctime() that prints a meaningful error when time cannot
454835f6802SDirk Vogt	  be converted.
455835f6802SDirk Vogt
456835f6802SDirk Vogt2011-02-02  20:40  Christos Zoulas <christos@zoulas.com>
457835f6802SDirk Vogt
458835f6802SDirk Vogt	* help and version output to stdout.
459835f6802SDirk Vogt
460835f6802SDirk Vogt	* When matching softmagic for ascii files, don't just print
461835f6802SDirk Vogt	  the softmagic classification, keep going and print the
462835f6802SDirk Vogt	  text classification too. This fixes broken troff files when
463835f6802SDirk Vogt	  we moved them from keyword recognition to softmagic
464835f6802SDirk Vogt	  (they stopped printing "with CRLF" etc.)
465835f6802SDirk Vogt	  Reported by Doug McIlroy.
466835f6802SDirk Vogt
467835f6802SDirk Vogt2011-01-16  19:31  Reuben Thomas <rrt@sc3d.org>
468835f6802SDirk Vogt
469835f6802SDirk Vogt	* Fix two potential buffer overruns in apprentice_list.
470835f6802SDirk Vogt
471835f6802SDirk Vogt2011-01-14  22:33  Reuben Thomas <rrt@sc3d.org>
472835f6802SDirk Vogt
473835f6802SDirk Vogt	* New Python binding in pure Python.
474835f6802SDirk Vogt	* Update libmagic(3).
475835f6802SDirk Vogt
476835f6802SDirk Vogt2011-01-06  21:40  Reuben Thomas <rrt@sc3d.org>
477835f6802SDirk Vogt
478835f6802SDirk Vogt	* Fix Python bindings (including recent Python 3 compatibility
479835f6802SDirk Vogt	  update).
480835f6802SDirk Vogt
481835f6802SDirk Vogt2011-01-04  18:43  Reuben Thomas <rrt@sc3d.org>
482835f6802SDirk Vogt
483835f6802SDirk Vogt	* magic/Makefile.am: make it easier to recover from magic build failures.
484835f6802SDirk Vogt	* Fix pstring length specifier parsing to avoid generating invalid
485835f6802SDirk Vogt	  magic files.
486835f6802SDirk Vogt	* Add pstring length "J" (for "JPEG") to specify that the length
487835f6802SDirk Vogt	  include itself.
488835f6802SDirk Vogt	* Fix JPEG comment parsing at last using pstring/HJ!
489835f6802SDirk Vogt	* Ignore section 5 man pages in doc/.cvsignore.
490835f6802SDirk Vogt
491835f6802SDirk Vogt2010-12-22  13:12  Christos Zoulas <christos@zoulas.com>
492835f6802SDirk Vogt
493835f6802SDirk Vogt	* Add pstring/BHhLl to specify the type of the length of pascal
494835f6802SDirk Vogt	  strings.
495835f6802SDirk Vogt
496835f6802SDirk Vogt2010-11-26  18:39  Reuben Thomas <rrt@sc3d.org>
497835f6802SDirk Vogt
498835f6802SDirk Vogt	* Fix "-e soft": it was ignored when softmagic was called
499835f6802SDirk Vogt	  during asciimagic.
500835f6802SDirk Vogt	* Improve comments and use "unsigned char" in tar.h/is_tar.c.
501835f6802SDirk Vogt
502835f6802SDirk Vogt2010-11-05  17:26  Reuben Thomas <rrt@sc3d.org>
503835f6802SDirk Vogt
504835f6802SDirk Vogt	* Make bug reporting addresses more visible.
505835f6802SDirk Vogt
506835f6802SDirk Vogt2010-11-01  18:35  Reuben Thomas <rrt@sc3d.org>
507835f6802SDirk Vogt
508835f6802SDirk Vogt	* Add tcl magic from Gustaf Neumann
509835f6802SDirk Vogt
510835f6802SDirk Vogt2010-10-24  10:42  Christos Zoulas <christos@zoulas.com>
511835f6802SDirk Vogt
512835f6802SDirk Vogt	* Fix the whitespace comparing code (Christopher Chittleborough)
513835f6802SDirk Vogt
514835f6802SDirk Vogt2010-10-06  21:05  Christos Zoulas <christos@zoulas.com>
515835f6802SDirk Vogt
516835f6802SDirk Vogt	* allow string/t to work (Jan Kaluza)
517835f6802SDirk Vogt
518835f6802SDirk Vogt2010-09-20  22:11  Reuben Thomas <rrt@sc3d.org>
519835f6802SDirk Vogt
520835f6802SDirk Vogt	* Apply some patches from Ubuntu and Fedora.
521835f6802SDirk Vogt
522835f6802SDirk Vogt2010-09-20  21:16  Reuben Thomas <rrt@sc3d.org>
523835f6802SDirk Vogt
524835f6802SDirk Vogt	* Apply all patches from Debian package 5.04-6 which have not
525835f6802SDirk Vogt	  already been applied and are not Debian-specific.
526835f6802SDirk Vogt
527835f6802SDirk Vogt2010-09-20  15:24  Reuben Thomas <rrt@sc3d.org>
528835f6802SDirk Vogt
529835f6802SDirk Vogt	* Minor security fix to softmagic.c (don't use untrusted
530835f6802SDirk Vogt	  string as printf format).
531835f6802SDirk Vogt
532835f6802SDirk Vogt2010-07-21  12:20  Christos Zoulas <christos@zoulas.com>
533835f6802SDirk Vogt
534835f6802SDirk Vogt	* MINGW32 portability from LRN
535835f6802SDirk Vogt
536835f6802SDirk Vogt	* Don't warn about escaping magic regex chars when we are in a regex.
537835f6802SDirk Vogt
538835f6802SDirk Vogt2010-07-19  10:55  Christos Zoulas <christos@zoulas.com>
539835f6802SDirk Vogt
540835f6802SDirk Vogt	* Only try to print prpsinfo for core files. (Jan Kaluza)
541835f6802SDirk Vogt
542835f6802SDirk Vogt2010-04-22  12:55  Christos Zoulas <christos@zoulas.com>
543835f6802SDirk Vogt
544835f6802SDirk Vogt	* Try more elf offsets for Debian core files.  (Arnaud Giersch)
545835f6802SDirk Vogt
546835f6802SDirk Vogt2010-02-20  15:18  Reuben Thomas <rrt@sc3d.org>
547835f6802SDirk Vogt
548835f6802SDirk Vogt	* Clarify which sort of CDF we mean.
549835f6802SDirk Vogt
550835f6802SDirk Vogt2010-02-14  22:58  Reuben Thomas <rrt@sc3d.org>
551835f6802SDirk Vogt
552835f6802SDirk Vogt	* Re-jig Zip file type magic so that unsupported special
553835f6802SDirk Vogt	  Zip types (those with "mimetype" at offset 30) can be
554835f6802SDirk Vogt	  recognized.
555835f6802SDirk Vogt
556835f6802SDirk Vogt2010-02-02  21:50  Reuben Thomas <rrt@sc3d.org>
557835f6802SDirk Vogt
558835f6802SDirk Vogt	* Add support for OCF (EPUB) files (application/epub+zip)
559835f6802SDirk Vogt
560835f6802SDirk Vogt2010-01-28  18:25  Christos Zoulas <christos@zoulas.com>
561835f6802SDirk Vogt
562835f6802SDirk Vogt	* Fix core-dump from unbound loop:
563835f6802SDirk Vogt	  https://bugzilla.redhat.com/show_bug.cgi?id=533245
564835f6802SDirk Vogt
565835f6802SDirk Vogt2010-01-22  15:45  Christos Zoulas <christos@zoulas.com>
566835f6802SDirk Vogt
567835f6802SDirk Vogt	* print proper mime for crystal reports file
568835f6802SDirk Vogt
569835f6802SDirk Vogt	* print the last summary information of a cdf document, not the
570835f6802SDirk Vogt	  first so that nested documents print the right info
571835f6802SDirk Vogt
572835f6802SDirk Vogt2010-01-16  18:42  Charles Longeau <chl@tuxfamily.org>
573835f6802SDirk Vogt
574835f6802SDirk Vogt	* bring back some fixes from OpenBSD:
575835f6802SDirk Vogt		- make gcc2 builds file
576835f6802SDirk Vogt		- fix typos in a magic file comment
577835f6802SDirk Vogt
578835f6802SDirk Vogt2009-11-17  18:35  Christos Zoulas <christos@zoulas.com>
579835f6802SDirk Vogt
580835f6802SDirk Vogt	* ctime/asctime can return NULL on some OS's although
581835f6802SDirk Vogt	  they should not (Toshit Antani)
582835f6802SDirk Vogt
583835f6802SDirk Vogt2009-09-14  13:49  Christos Zoulas <christos@zoulas.com>
584835f6802SDirk Vogt
585835f6802SDirk Vogt	* Centralize magic path handling routines and remove the
586835f6802SDirk Vogt	  special-casing from file.c so that the python module for
587835f6802SDirk Vogt	  example comes up with the same magic path (Fixes ~/.magic
588835f6802SDirk Vogt	  handling) (from Gab)
589835f6802SDirk Vogt
590835f6802SDirk Vogt2009-09-11  23:38  Reuben Thomas <rrt@sc3d.org>
591835f6802SDirk Vogt
592835f6802SDirk Vogt	* When magic argument is a directory, read the files in
593835f6802SDirk Vogt	  strcmp-sorted order (fixes Debian bug #488562 and our own FIXME).
594835f6802SDirk Vogt
595835f6802SDirk Vogt2009-09-11  13:11  Reuben Thomas <rrt@sc3d.org>
596835f6802SDirk Vogt
597835f6802SDirk Vogt	* Combine overlapping epoc and psion magic files into one (epoc).
598835f6802SDirk Vogt
599835f6802SDirk Vogt	* Add some more EPOC MIME types.
600835f6802SDirk Vogt
601835f6802SDirk Vogt2009-08-19  15:55  Christos Zoulas <christos@zoulas.com>
602835f6802SDirk Vogt
603835f6802SDirk Vogt	* Fix 3 bugs (From Ian Darwin):
604835f6802SDirk Vogt	    - file_showstr could move one past the end of the array
605835f6802SDirk Vogt	    - parse_apple did not nul terminate the string in the overflow case
606835f6802SDirk Vogt	    - parse_mime truncated the wrong string in the overflow case
607835f6802SDirk Vogt
608835f6802SDirk Vogt2009-08-12  12:28  Robert Byrnes  <byrnes@wildpumpkin.net>
609835f6802SDirk Vogt
610835f6802SDirk Vogt	* Include Localstuff when compiling magic.
611835f6802SDirk Vogt
612835f6802SDirk Vogt2009-07-15  10:05  Christos Zoulas <christos@zoulas.com>
613835f6802SDirk Vogt
614835f6802SDirk Vogt	* Fix logic for including mygetopts.h
615835f6802SDirk Vogt
616835f6802SDirk Vogt	* Make cdf.c compile again with debugging
617835f6802SDirk Vogt
618835f6802SDirk Vogt	* Add the necessary field handling for crystal reports files to work
619835f6802SDirk Vogt
620835f6802SDirk Vogt2009-06-23 01:34  Reuben Thomas <rrt@sc3d.org>
621835f6802SDirk Vogt
622835f6802SDirk Vogt	* Stop "(if" identifying Lisp files, that's plain dumb!
623835f6802SDirk Vogt
624835f6802SDirk Vogt2009-06-09 22:13  Reuben Thomas <rrt@sc3d.org>
625835f6802SDirk Vogt
626835f6802SDirk Vogt	* Add a couple of missing MP3 MIME types.
627835f6802SDirk Vogt
628835f6802SDirk Vogt2009-05-27 23:00  Reuben Thomas <rrt@sc3d.org>
629835f6802SDirk Vogt
630835f6802SDirk Vogt	* Add full range of hash-bang tests for Python and Ruby.
631835f6802SDirk Vogt
632835f6802SDirk Vogt	* Add MIME types for Python and Ruby scripts.
633835f6802SDirk Vogt
634835f6802SDirk Vogt2009-05-13  10:44  Christos Zoulas <christos@zoulas.com>
635835f6802SDirk Vogt
636835f6802SDirk Vogt	* off by one in parsing hw capabilities in elf
637835f6802SDirk Vogt	  (Cheng Renquan)
638835f6802SDirk Vogt
639835f6802SDirk Vogt2009-05-08  13:40  Christos Zoulas <christos@zoulas.com>
640835f6802SDirk Vogt
641835f6802SDirk Vogt	* lint fixes and more from NetBSD
642835f6802SDirk Vogt
643ef01931fSBen Gras2009-05-06  10:25  Christos Zoulas <christos@zoulas.com>
644ef01931fSBen Gras
645ef01931fSBen Gras	* Avoid null dereference in cdf code (Drew Yao)
646ef01931fSBen Gras
647ef01931fSBen Gras	* More cdf bounds checks and overflow checks
648ef01931fSBen Gras
649ef01931fSBen Gras2009-05-01  18:37  Christos Zoulas <christos@zoulas.com>
650ef01931fSBen Gras
651ef01931fSBen Gras	* Buffer overflow fixes from Drew Yao
652ef01931fSBen Gras
653ef01931fSBen Gras2009-04-30  17:10  Christos Zoulas <christos@zoulas.com>
654ef01931fSBen Gras
655ef01931fSBen Gras	* Fix more cdf lossage. All the documents I have
656ef01931fSBen Gras	  right now print the correct information.
657ef01931fSBen Gras
658ef01931fSBen Gras2009-03-27  18:43  Christos Zoulas <christos@zoulas.com>
659ef01931fSBen Gras
660ef01931fSBen Gras	* don't print \012- separators in the same magic entry
661ef01931fSBen Gras	  if it consists of multiple magic printing lines.
662ef01931fSBen Gras
663ef01931fSBen Gras2009-03-23  10:20  Christos Zoulas <christos@zoulas.com>
664ef01931fSBen Gras
665ef01931fSBen Gras	* Avoid file descriptor leak in compress code from
666ef01931fSBen Gras	  (Daniel Novotny)
667ef01931fSBen Gras
668ef01931fSBen Gras2009-03-18  16:50  Christos Zoulas <christos@zoulas.com>
669ef01931fSBen Gras
670ef01931fSBen Gras	* Allow escaping of relation characters, so that we can say \^[A-Z]
671ef01931fSBen Gras	  and the ^ is not eaten as a relation char.
672ef01931fSBen Gras
673ef01931fSBen Gras	* Fix troff and fortran to their previous glory using
674ef01931fSBen Gras	  regex. This was broken since their removel from ascmagic.
675ef01931fSBen Gras
676ef01931fSBen Gras2009-03-10  16:50  Christos Zoulas <christos@zoulas.com>
677ef01931fSBen Gras
678ef01931fSBen Gras	* don't use strlen in strndup() (Toby Peterson)
679ef01931fSBen Gras
680ef01931fSBen Gras2009-03-10  7:45  Christos Zoulas <christos@zoulas.com>
681ef01931fSBen Gras
682ef01931fSBen Gras	* avoid c99 syntax.
683ef01931fSBen Gras
684ef01931fSBen Gras2009-02-23 15:45  Christos Zoulas <christos@zoulas.com>
685ef01931fSBen Gras
686ef01931fSBen Gras	* make the cdf code use the buffer first if available,
687ef01931fSBen Gras	  and then the fd code.
688ef01931fSBen Gras
689ef01931fSBen Gras2009-02-13 13:45  Christos Zoulas <christos@zoulas.com>
690ef01931fSBen Gras
691ef01931fSBen Gras	* look for struct option to determine if getopt.h is usable for IRIX.
692ef01931fSBen Gras
693ef01931fSBen Gras	* sanitize cdf document strings
694ef01931fSBen Gras
695ef01931fSBen Gras2009-02-04 13:25  Christos Zoulas <christos@zoulas.com>
696ef01931fSBen Gras
697ef01931fSBen Gras	* fix OS/2 warnings.
698ef01931fSBen Gras
699ef01931fSBen Gras2008-12-12 15:50  Christos Zoulas <christos@zoulas.com>
700ef01931fSBen Gras
701ef01931fSBen Gras	* fix initial offset calculation for non 4K sector files
702ef01931fSBen Gras
703ef01931fSBen Gras	* add loop limits to avoid DoS attacks by constructing
704ef01931fSBen Gras	  looping sector references.
705ef01931fSBen Gras
706ef01931fSBen Gras2008-12-03 13:05  Christos Zoulas <christos@zoulas.com>
707ef01931fSBen Gras
708ef01931fSBen Gras	* fix memory botches on cdf file parsing.
709ef01931fSBen Gras
710ef01931fSBen Gras	* exit with non-zero value for any error, not just for the last
711ef01931fSBen Gras	  file processed.
712ef01931fSBen Gras
713ef01931fSBen Gras2008-11-09 20:42  Charles Longeau <chl@tuxfamily.org>
714ef01931fSBen Gras
715ef01931fSBen Gras	* Replace all str{cpy,cat} functions with strl{cpy,cat}
716ef01931fSBen Gras	* Ensure that strl{cpy,cat} are included in libmagic,
717ef01931fSBen Gras	  as needed.
718ef01931fSBen Gras
719ef01931fSBen Gras2008-11-06 18:18  Christos Zoulas <christos@zoulas.com>
720ef01931fSBen Gras
721ef01931fSBen Gras	* Handle ID3 format files.
722ef01931fSBen Gras
723ef01931fSBen Gras2008-11-06 23:00  Reuben Thomas <rrt@sc3d.org>
724ef01931fSBen Gras
725ef01931fSBen Gras	* Fix --mime, --mime-type and --mime-encoding under new scheme.
726ef01931fSBen Gras
727ef01931fSBen Gras	* Rename "ascii" to "text" and add "encoding" test.
728ef01931fSBen Gras
729ef01931fSBen Gras	* Return a precise ("utf-16le" or "utf-16be") MIME charset for
730ef01931fSBen Gras	  UTF-16.
731ef01931fSBen Gras
732ef01931fSBen Gras	* Fix error in comment caused by automatic indentation adding
733ef01931fSBen Gras	  words!
734ef01931fSBen Gras
735ef01931fSBen Gras2008-11-06 10:35  Christos Zoulas <christos@astron.com>
736ef01931fSBen Gras
737ef01931fSBen Gras	* use memchr instead of strchr because the string
738ef01931fSBen Gras	  might not be NUL terminated (Scott MacVicar)
739ef01931fSBen Gras
740ef01931fSBen Gras2008-11-03 07:31  Reuben Thomas <rrt@sc3d.org>
741ef01931fSBen Gras
742ef01931fSBen Gras	* Fix a printf with a non-literal format string.
743ef01931fSBen Gras
744ef01931fSBen Gras	* Fix formatting and punctuation of help for "--apple".
745ef01931fSBen Gras
746ef01931fSBen Gras2008-10-30 11:00  Reuben Thomas <rrt@sc3d.org>
747ef01931fSBen Gras
748ef01931fSBen Gras	* Correct words counts in comments of struct magic.
749ef01931fSBen Gras
750ef01931fSBen Gras	* Fix handle_annotation to allow both Apple and MIME types to be
751ef01931fSBen Gras	  printed, and to return correct code if MIME type is
752ef01931fSBen Gras	  printed (1, not 0) or if there's an error (-1 not 1).
753ef01931fSBen Gras
754ef01931fSBen Gras	* Fix output of charset for MIME type (precede with semi-colon;
755ef01931fSBen Gras	  fixes Debian bug #501460).
756ef01931fSBen Gras
757ef01931fSBen Gras	* Fix potential attacks via conversion specifications in magic
758ef01931fSBen Gras	  strings.
759ef01931fSBen Gras
760ef01931fSBen Gras	* Add a FIXME for Debian bug #488562 (magic files should be
761ef01931fSBen Gras	  read in a defined order, by sorting the names).
762ef01931fSBen Gras
763ef01931fSBen Gras2008-10-18 16:45  Christos Zoulas <christos@astron.com>
764ef01931fSBen Gras
765ef01931fSBen Gras	* Added APPLE file creator/type
766ef01931fSBen Gras
767ef01931fSBen Gras2008-10-12 10:20  Christos Zoulas <christos@astron.com>
768ef01931fSBen Gras
769ef01931fSBen Gras	* Added CDF parsing
770ef01931fSBen Gras
771ef01931fSBen Gras2008-10-09 16:40  Christos Zoulas <christos@astron.com>
772ef01931fSBen Gras
773ef01931fSBen Gras	* filesystem and msdos patches (Joerg Jenderek)
774ef01931fSBen Gras
775ef01931fSBen Gras2008-10-09 13:20  Christos Zoulas <christos@astron.com>
776ef01931fSBen Gras
777ef01931fSBen Gras	* correct --exclude documentation issues: remove troff and fortran
778ef01931fSBen Gras	  and rename "token" to "tokens". (Randy McMurchy)
779ef01931fSBen Gras
780ef01931fSBen Gras2008-10-01 10:30  Christos Zoulas <christos@astron.com>
781ef01931fSBen Gras
782ef01931fSBen Gras	* Read ~/.magic in addition to the default magic file not instead
783ef01931fSBen Gras	  of, as documented in the man page.
784ef01931fSBen Gras
785ef01931fSBen Gras2008-09-10 21:30  Reuben Thomas  <rrt@sc3d.org>
786ef01931fSBen Gras
787ef01931fSBen Gras	* Comment out graphviz patterns, as they match too many files.
788ef01931fSBen Gras
789ef01931fSBen Gras2008-08-30 12:54  Christos Zoulas <christos@astron.com>
790ef01931fSBen Gras
791ef01931fSBen Gras	* Don't eat trailing \n in magic enties.
792ef01931fSBen Gras
793ef01931fSBen Gras	* Cast defines to allow compilation using a c++ compiler.
794ef01931fSBen Gras
795ef01931fSBen Gras2008-08-25 23:56  Reuben Thomas  <rrt@sc3d.org>
796ef01931fSBen Gras
797ef01931fSBen Gras	* Add text/x-lua MIME type for Lua scripts.
798ef01931fSBen Gras
799ef01931fSBen Gras	* Escape { in regex in graphviz patterns.
800ef01931fSBen Gras
801ef01931fSBen Gras2008-07-26 00:59  Reuben Thomas  <rrt@sc3d.org>
802ef01931fSBen Gras
803ef01931fSBen Gras	* Add MIME types for special files.
804ef01931fSBen Gras
805ef01931fSBen Gras	* Use access to give more accurate information for files that
806ef01931fSBen Gras	  can't be opened.
807ef01931fSBen Gras
808ef01931fSBen Gras	* Add a TODO list.
809ef01931fSBen Gras
810ef01931fSBen Gras2008-07-02 11:15  Christos Zoulas  <christos@astron.com>
811ef01931fSBen Gras
812ef01931fSBen Gras	* add !:strength op to adjust magic strength (experimental)
813ef01931fSBen Gras
814ef01931fSBen Gras2008-06-16 21:41  Reuben Thomas  <rrt@sc3d.org>
815ef01931fSBen Gras
816ef01931fSBen Gras	* Fix automake error in configure.ac.
817ef01931fSBen Gras
818ef01931fSBen Gras	* Add MIME type for Psion Sketch files.
819ef01931fSBen Gras
820ef01931fSBen Gras2008-06-05 08:59  Christos Zoulas  <christos@astron.com>
821ef01931fSBen Gras
822ef01931fSBen Gras	* Don't print warnings about bad namesize in stripped
823ef01931fSBen Gras	  binaries with PT_NOTE is still there, and the actual
824ef01931fSBen Gras	  note is gone (Jakub Jelinek)
825ef01931fSBen Gras
826ef01931fSBen Gras2008-05-28 15:12  Robert Byrnes  <byrnes@wildpumpkin.net>
827ef01931fSBen Gras
828ef01931fSBen Gras	* magic/Magdir/elf:
829ef01931fSBen Gras	  Note invalid byte order for little-endian SPARC32PLUS.
830ef01931fSBen Gras	  Add SPARC V9 vendor extensions and memory model.
831ef01931fSBen Gras
832ef01931fSBen Gras	* src/elfclass.h:
833ef01931fSBen Gras	  Pass target machine to doshn (for Solaris hardware capabilities).
834ef01931fSBen Gras
835ef01931fSBen Gras	* src/readelf.c (doshn):
836ef01931fSBen Gras	  Add support for Solaris hardware/software capabilities.
837ef01931fSBen Gras
838ef01931fSBen Gras	* src/readelf.h:
839ef01931fSBen Gras	  Ditto.
840ef01931fSBen Gras
841ef01931fSBen Gras	* src/vasprintf.c (dispatch):
842ef01931fSBen Gras	  Add support for ll modifier.
843ef01931fSBen Gras
844ef01931fSBen Gras2008-05-16 10:25  Christos Zoulas  <christos@astron.com>
845ef01931fSBen Gras
846ef01931fSBen Gras	* Fix compiler warnings.
847ef01931fSBen Gras
848ef01931fSBen Gras	* remove stray printf, and fix a vprintf bug. (Martin Dorey)
849ef01931fSBen Gras
850ef01931fSBen Gras2008-05-06 00:13  Robert Byrnes  <byrnes@wildpumpkin.net>
851ef01931fSBen Gras
852ef01931fSBen Gras	* src/Makefile.am:
853ef01931fSBen Gras	  Ensure that getopt_long and [v]asprintf are included in libmagic,
854ef01931fSBen Gras	  as needed.
855ef01931fSBen Gras
856ef01931fSBen Gras	  Remove unnecessary EXTRA_DIST.
857ef01931fSBen Gras
858ef01931fSBen Gras	* src/Makefile.in:
859ef01931fSBen Gras	  Rerun automake.
860ef01931fSBen Gras
861ef01931fSBen Gras	* src/vasprintf.c (dispatch):
862ef01931fSBen Gras	  Fix variable precision bug: be sure to step past '*'.
863ef01931fSBen Gras
864ef01931fSBen Gras	* src/vasprintf.c (core):
865ef01931fSBen Gras	  Remove unreachable code.
866ef01931fSBen Gras
867ef01931fSBen Gras	* src/apprentice.c (set_test_type):
868ef01931fSBen Gras	  Add cast to avoid compiler warning.
869ef01931fSBen Gras
870ef01931fSBen Gras2008-04-22 23:45  Christos Zoulas  <christos@astron.com>
871ef01931fSBen Gras
872ef01931fSBen Gras	* Add magic submission guidelines (Abel Cheung)
873ef01931fSBen Gras
874ef01931fSBen Gras	* split msdos and windows magic (Abel Cheung)
875ef01931fSBen Gras
876ef01931fSBen Gras2008-04-04 11:00  Christos Zoulas  <christos@astron.com>
877ef01931fSBen Gras
878ef01931fSBen Gras	* >= <= is not supported, so fix the magic and warn about it.
879ef01931fSBen Gras	  reported by: Thien-Thi Nguyen <ttn@gnuvola.org>
880ef01931fSBen Gras
881ef01931fSBen Gras2008-03-27 16:16  Robert Byrnes  <byrnes@wildpumpkin.net>
882ef01931fSBen Gras
883ef01931fSBen Gras	* src/readelf.c (donote):
884ef01931fSBen Gras	  ELF core file command name/line bug fixes and enhancements:
885ef01931fSBen Gras
886ef01931fSBen Gras	  Try larger offsets first to avoid false matches
887ef01931fSBen Gras	  from earlier data that happen to look like strings;
888ef01931fSBen Gras	  this primarily affected SunOS 5.x 32-bit Intel core files.
889ef01931fSBen Gras
890ef01931fSBen Gras	  Add support for command line (instead of just short name)
891ef01931fSBen Gras	  for SunOS 5.x.
892ef01931fSBen Gras
893ef01931fSBen Gras	  Add information about NT_PSINFO for SunOS 5.x.
894ef01931fSBen Gras
895ef01931fSBen Gras	  Only trim whitespace from end of command line.
896ef01931fSBen Gras
897ef01931fSBen Gras2007-02-11 01:36 Reuben Thomas <rrt@sc3d.org>
898ef01931fSBen Gras
899ef01931fSBen Gras	* Change strength of ! from MULT to 0, as it matches almost
900ef01931fSBen Gras		  anything (Reuben Thomas)
901ef01931fSBen Gras
902ef01931fSBen Gras	* Debian fixes (Reuben Thomas)
903ef01931fSBen Gras
904ef01931fSBen Gras2007-02-11 00:17 Reuben Thomas <rrt@sc3d.org>
905ef01931fSBen Gras
906ef01931fSBen Gras	* Clarify UTF-8 BOM message (Reuben Thomas)
907ef01931fSBen Gras
908ef01931fSBen Gras	* Add HTML comment to token list in names.h
909ef01931fSBen Gras
910ef01931fSBen Gras2007-02-04 15:50 Christos Zoulas <christos@astron.com>
911ef01931fSBen Gras
912ef01931fSBen Gras	* Debian fixes (Reuben Thomas)
913ef01931fSBen Gras
914ef01931fSBen Gras2007-02-04 11:31 Christos Zoulas <christos@astron.com>
915ef01931fSBen Gras
916ef01931fSBen Gras	* !:mime annotations in magic files (Reuben Thomas)
917ef01931fSBen Gras
918ef01931fSBen Gras2007-01-29 15:35 Christos Zoulas <christos@astron.com>
919ef01931fSBen Gras
920ef01931fSBen Gras	* zero out utime/utimes structs (Gavin Atkinson)
921ef01931fSBen Gras
922ef01931fSBen Gras2007-01-26 13:45 Christos Zoulas <christos@astron.com>
923ef01931fSBen Gras
924ef01931fSBen Gras	* reduce writable data from Diego "Flameeyes" Petten
925ef01931fSBen Gras
926ef01931fSBen Gras2007-12-28 15:06 Christos Zoulas <christos@astron.com>
927ef01931fSBen Gras
928ef01931fSBen Gras	* strtof detection
929ef01931fSBen Gras
930ef01931fSBen Gras	* remove bogus regex magic that could cause a DoS
931ef01931fSBen Gras
932ef01931fSBen Gras	* better mismatch version message
933ef01931fSBen Gras
934ef01931fSBen Gras2007-12-27 11:35 Christos Zoulas <christos@astron.com>
935ef01931fSBen Gras
936ef01931fSBen Gras	* bring back some fixes from OpenBSD
937ef01931fSBen Gras
938ef01931fSBen Gras	* treat ELF dynamic objects as executables
939ef01931fSBen Gras
940ef01931fSBen Gras	* fix gcc warnings
941ef01931fSBen Gras
942ef01931fSBen Gras2007-12-01 19:55 Christos Zoulas <christos@astron.com>
943ef01931fSBen Gras
944ef01931fSBen Gras	* make sure we have zlib.h and libz to compile the builtin
945ef01931fSBen Gras	  decompress code
946ef01931fSBen Gras
947ef01931fSBen Gras2007-10-28 20:48 Christos Zoulas <christos@astron.com>
948ef01931fSBen Gras
949ef01931fSBen Gras 	* float and double magic support (Behan Webster)
950ef01931fSBen Gras
951ef01931fSBen Gras2007-10-28 20:48 Christos Zoulas <christos@astron.com>
952ef01931fSBen Gras
953ef01931fSBen Gras	* Convert fortran to a soft test (Reuben Thomas)
954ef01931fSBen Gras
955ef01931fSBen Gras2007-10-23  5:25 Christos Zoulas <christos@astron.com>
956ef01931fSBen Gras
957ef01931fSBen Gras	* Add --with-filename, and --no-filename (Reuben Thomas)
958ef01931fSBen Gras
959ef01931fSBen Gras2007-10-23  3:59 Christos Zoulas <christos@astron.com>
960ef01931fSBen Gras
961ef01931fSBen Gras	* Rest of the mime split (Reuben Thomas)
962ef01931fSBen Gras
963ef01931fSBen Gras	* Make usage message generated from the flags so that
964ef01931fSBen Gras	  they stay consistent (Reuben Thomas)
965ef01931fSBen Gras
966ef01931fSBen Gras2007-10-20  3:06 Christos Zoulas <christos@astron.com>
967ef01931fSBen Gras
968ef01931fSBen Gras	* typo in comment, missing ifdef QUICK, remove unneeded code
969ef01931fSBen Gras		(Charles Longeau)
970ef01931fSBen Gras
971ef01931fSBen Gras2007-10-17  3:33 Christos Zoulas <christos@astron.com>
972ef01931fSBen Gras
973ef01931fSBen Gras	* Fix problem printing -\012 in some entries
974ef01931fSBen Gras
975ef01931fSBen Gras	* Separate magic type and encoding flags (Reuben Thomas)
976ef01931fSBen Gras
977ef01931fSBen Gras2007-10-09  3:55 Christos Zoulas <christos@astron.com>
978ef01931fSBen Gras
979ef01931fSBen Gras	* configure fix for int64 and strndup (Reuben Thomas)
980ef01931fSBen Gras
981ef01931fSBen Gras2007-09-26  4:45 Christos Zoulas <christos@astron.com>
982ef01931fSBen Gras
983ef01931fSBen Gras	* Add magic_descriptor() function.
984ef01931fSBen Gras
985ef01931fSBen Gras	* Fix regression in elf reading code where the core name was
986ef01931fSBen Gras	  not being printed.
987ef01931fSBen Gras
988ef01931fSBen Gras	* Don't convert NUL's to spaces in {l,b}estring16 (Daniel Dawson)
989ef01931fSBen Gras
990ef01931fSBen Gras2007-08-19  6:30 Christos Zoulas <christos@astron.com>
991ef01931fSBen Gras
992ef01931fSBen Gras	* Make mime format consistent so that it can
993ef01931fSBen Gras	  be easily parsed:
994ef01931fSBen Gras	      mimetype [charset=character-set] [encoding=encoding-mime-type]
995ef01931fSBen Gras
996ef01931fSBen Gras	  Remove spurious extra text from some MIME type printouts
997ef01931fSBen Gras	  (mostly in is_tar).
998ef01931fSBen Gras
999ef01931fSBen Gras	  Fix one case where -i produced nothing at all (for a 1-byte file,
1000ef01931fSBen Gras	  which is now classed as application/octet-stream).
1001ef01931fSBen Gras
1002ef01931fSBen Gras	  Remove 7/8bit classifications, since they were arbitrary
1003ef01931fSBen Gras	  and not based on the file data.
1004ef01931fSBen Gras
1005ef01931fSBen Gras	  This work was done by Reuben Thomas
1006ef01931fSBen Gras
1007ef01931fSBen Gras2007-05-24 10:00 Christos Zoulas <christos@astron.com>
1008ef01931fSBen Gras
1009ef01931fSBen Gras	* Fix another integer overflow (Colin Percival)
1010ef01931fSBen Gras
1011ef01931fSBen Gras2007-03-26 13:58 Christos Zoulas <christos@astron.com>
1012ef01931fSBen Gras
1013ef01931fSBen Gras	* make sure that all of struct magic_set is initialized appropriately
1014ef01931fSBen Gras	  (Brett)
1015ef01931fSBen Gras
1016ef01931fSBen Gras2007-03-25 17:44 Christos Zoulas <christos@astron.com>
1017ef01931fSBen Gras
1018ef01931fSBen Gras	* reset left bytes in the buffer (Dmitry V. Levin)
1019ef01931fSBen Gras
1020ef01931fSBen Gras	* compilation failed with COMPILE_ONLY and ENABLE_CONDITIONALS
1021ef01931fSBen Gras	  (Peter Avalos)
1022ef01931fSBen Gras
1023ef01931fSBen Gras2007-03-15 10:51 Christos Zoulas <christos@astron.com>
1024ef01931fSBen Gras
1025ef01931fSBen Gras	* fix fortran and nroff reversed tests (Dmitry V. Levin)
1026ef01931fSBen Gras
1027ef01931fSBen Gras	* fix exclude option (Dmitry V. Levin)
1028ef01931fSBen Gras
1029ef01931fSBen Gras2007-02-08 17:30 Christos Zoulas <christos@astron.com>
1030ef01931fSBen Gras
1031ef01931fSBen Gras	* fix integer underflow in file_printf which can lead to
1032ef01931fSBen Gras	  to exploitable heap overflow (Jean-Sebastien Guay-Lero)
1033ef01931fSBen Gras
1034ef01931fSBen Gras2007-02-05 11:35 Christos Zoulas <christos@astron.com>
1035ef01931fSBen Gras
1036ef01931fSBen Gras	* make socket/pipe reading more robust
1037ef01931fSBen Gras
1038ef01931fSBen Gras2007-01-25 16:01 Christos Zoulas <christos@astron.com>
1039ef01931fSBen Gras
1040ef01931fSBen Gras	* Centralize all the tests in file_buffer.
1041ef01931fSBen Gras
1042ef01931fSBen Gras	* Add exclude flag.
1043ef01931fSBen Gras
1044ef01931fSBen Gras2007-01-18 05:29 Anon Ymous <do@not.spam.me>
1045ef01931fSBen Gras
1046ef01931fSBen Gras	* Move the "type" detection code from parse() into its own table
1047ef01931fSBen Gras	  driven routine.  This avoids maintaining multiple lists in
1048ef01931fSBen Gras	  file.h.
1049ef01931fSBen Gras
1050ef01931fSBen Gras	* Add an optional conditional field (ust before the type field).
1051ef01931fSBen Gras	  This code is wrapped in "#ifdef ENABLE_CONDITIONALS" as it is
1052ef01931fSBen Gras	  likely to go away.
1053ef01931fSBen Gras
1054ef01931fSBen Gras2007-01-16 23:24 Anon Ymous <do@not.spam.me>
1055ef01931fSBen Gras
1056ef01931fSBen Gras	* Fix an initialization bug in check_mem().
1057ef01931fSBen Gras
1058ef01931fSBen Gras2007-01-16 14:58 Anon Ymous <do@not.spam.me>
1059ef01931fSBen Gras
1060ef01931fSBen Gras	* Add a "default" type to print a message if nothing previously
1061ef01931fSBen Gras	  matched at that level or since the last default at that
1062ef01931fSBen Gras	  level.  This is useful for setting up switch-like statements.
1063ef01931fSBen Gras	  It can also be used to do if/else constructions without a
1064ef01931fSBen Gras	  redundant second test.
1065ef01931fSBen Gras
1066ef01931fSBen Gras	* Fix the "x" special case test so that one can test for that
1067ef01931fSBen Gras	  string with "=x".
1068ef01931fSBen Gras
1069ef01931fSBen Gras	* Allow "search" to search the entire buffer if the "/N"
1070ef01931fSBen Gras	  search count is missing.
1071ef01931fSBen Gras
1072ef01931fSBen Gras	* Make "regex" work!  It now starts its search at the
1073ef01931fSBen Gras	  specified offset and takes an (optional) "/N" line count to
1074ef01931fSBen Gras	  specify the search range; otherwise it searches to the end
1075ef01931fSBen Gras	  of the file.  The match is now grabbed correctly for format
1076ef01931fSBen Gras	  strings and the offset set to the end of the match.
1077ef01931fSBen Gras
1078ef01931fSBen Gras	* Add a "/s" flag to "regex" and "search" to set the offset to
1079ef01931fSBen Gras	  the start of the match.  By default the offset is set to the
1080ef01931fSBen Gras	  end of the match, as it is with other tests.  This is mostly
1081ef01931fSBen Gras	  useful for "regex".
1082ef01931fSBen Gras
1083ef01931fSBen Gras	* Make "search", "string" and "pstring" use the same
1084ef01931fSBen Gras	  file_strncmp() routine so that they support the same flags;
1085ef01931fSBen Gras	  "bestring16" and "lestring16" call the same routine, but
1086ef01931fSBen Gras	  with flags = 0.  Also add a "/C" flag (in analogy to "/c")
1087ef01931fSBen Gras	  to ignore the case on uppercase (lowercase) characters in
1088ef01931fSBen Gras	  the test string.
1089ef01931fSBen Gras
1090ef01931fSBen Gras	* Strict adherence to C style string escapes.  A warnings are
1091ef01931fSBen Gras	  printed when compiling.  Note: previously "\a" was
1092ef01931fSBen Gras	  incorrectly translated to 'a' instead of an <alert> (i.e.,
1093ef01931fSBen Gras	  BELL, typically 0x07).
1094ef01931fSBen Gras
1095ef01931fSBen Gras	* Make this compile with "-Wall -Wextra" and all the warning
1096ef01931fSBen Gras	  flags used with WARNS=4 in the NetBSD source.  Also make it
1097ef01931fSBen Gras	  pass lint.
1098ef01931fSBen Gras
1099ef01931fSBen Gras	* Many "cleanups" and hopefully not too many new bugs!
1100ef01931fSBen Gras
1101ef01931fSBen Gras2007-01-16 14:56 Anon Ymous <do@not.spam.me>
1102ef01931fSBen Gras
1103ef01931fSBen Gras	* make several more files compile with gcc warnings
1104ef01931fSBen Gras	  on and also make them pass lint.
1105ef01931fSBen Gras
1106ef01931fSBen Gras2007-01-16 14:54 Anon Ymous <do@not.spam.me>
1107ef01931fSBen Gras
1108ef01931fSBen Gras	* fix a puts()/putc() usage goof in file.c
1109ef01931fSBen Gras
1110ef01931fSBen Gras	* make file.c compile with gcc warnings and pass lint
1111ef01931fSBen Gras
1112ef01931fSBen Gras2006-12-11 16:49 Christos Zoulas <christos@astron.com>
1113ef01931fSBen Gras
1114ef01931fSBen Gras	* fix byteswapping issue
1115ef01931fSBen Gras
1116ef01931fSBen Gras	* report the number of bytes we tried to
1117ef01931fSBen Gras	  allocate when allocation fails
1118ef01931fSBen Gras
1119ef01931fSBen Gras	* add a few missed cases in the strength routine
1120ef01931fSBen Gras
1121ef01931fSBen Gras2006-12-08 16:32 Christos Zoulas <christos@astron.com>
1122ef01931fSBen Gras
1123ef01931fSBen Gras	* store and print the line number of the magic
1124ef01931fSBen Gras	  entry for debugging.
1125ef01931fSBen Gras
1126ef01931fSBen Gras	* if the magic entry did not print anything,
1127ef01931fSBen Gras	  don't treat it as a match
1128ef01931fSBen Gras
1129ef01931fSBen Gras	* change the magic strength algorithm to take
1130ef01931fSBen Gras	  into account the relationship op.
1131ef01931fSBen Gras
1132ef01931fSBen Gras	* fix a bug in search where we could accidentally
1133ef01931fSBen Gras	  return a match.
1134ef01931fSBen Gras
1135ef01931fSBen Gras	* propagate the error return from match to
1136ef01931fSBen Gras	  file_softmagic.
1137ef01931fSBen Gras
1138ef01931fSBen Gras2006-11-25 13:35 Christos Zoulas <christos@astron.com>
1139ef01931fSBen Gras
1140ef01931fSBen Gras	* Don't store the current offset in the magic
1141ef01931fSBen Gras	  struct, because it needs to be restored and
1142ef01931fSBen Gras	  it was not done properly all the time. Bug
1143ef01931fSBen Gras	  found by: Arkadiusz Miskiewicz
1144ef01931fSBen Gras
1145ef01931fSBen Gras	* Fix problem in the '\0' separator; and don't
1146ef01931fSBen Gras	  print it as an additional separator; print
1147ef01931fSBen Gras	  it as the only separator.
1148ef01931fSBen Gras
1149ef01931fSBen Gras2006-11-17 10:51 Christos Zoulas <christos@astron.com>
1150ef01931fSBen Gras
1151ef01931fSBen Gras	* Added a -0 option to print a '\0' separator
1152ef01931fSBen Gras	  Etienne Buira <etienne.buira@free.fr>
1153ef01931fSBen Gras
1154ef01931fSBen Gras2006-10-31 15:14 Christos Zoulas <christos@astron.com>
1155ef01931fSBen Gras
1156ef01931fSBen Gras	* Check offset before copying (Mike Frysinger)
1157ef01931fSBen Gras
1158ef01931fSBen Gras	* merge duplicated code
1159ef01931fSBen Gras
1160ef01931fSBen Gras	* add quad date support
1161ef01931fSBen Gras
1162ef01931fSBen Gras	* make sure that we nul terminate desc (Ryoji Kanai)
1163ef01931fSBen Gras
1164ef01931fSBen Gras	* don't process elf notes multiple times
1165ef01931fSBen Gras
1166ef01931fSBen Gras	* allow -z to report empty compressed files
1167ef01931fSBen Gras
1168ef01931fSBen Gras	* use calloc to initialize the ascii buffers (Jos van den Oever)
1169ef01931fSBen Gras
1170ef01931fSBen Gras2006-06-08 11:11 Christos Zoulas <christos@astron.com>
1171ef01931fSBen Gras
1172ef01931fSBen Gras	* QNX fixes (Mike Gorchak)
1173ef01931fSBen Gras
1174ef01931fSBen Gras	* Add quad support.
1175ef01931fSBen Gras
1176ef01931fSBen Gras	* FIFO checks (Dr. Werner Fink)
1177ef01931fSBen Gras
1178ef01931fSBen Gras	* Linux ELF fixes (Dr. Werner Fink)
1179ef01931fSBen Gras
1180ef01931fSBen Gras	* Magic format checks (Dr. Werner Fink)
1181ef01931fSBen Gras
1182ef01931fSBen Gras	* Magic format function improvent (Karl Chen)
1183ef01931fSBen Gras
1184ef01931fSBen Gras2006-05-03 11:11 Christos Zoulas <christos@astron.com>
1185ef01931fSBen Gras
1186ef01931fSBen Gras	* Pick up some elf changes and some constant fixes from SUSE
1187ef01931fSBen Gras
1188ef01931fSBen Gras	* Identify gnu tar vs. posix tar
1189ef01931fSBen Gras
1190*0a6a1f1dSLionel Sambuc	* When keep going, don't print spurious newlines (Radek Vokal)
1191ef01931fSBen Gras
1192ef01931fSBen Gras2006-04-01 12:02 Christos Zoulas <christos@astron.com>
1193ef01931fSBen Gras
1194ef01931fSBen Gras	* Use calloc instead of malloc (Mike Frysinger)
1195ef01931fSBen Gras
1196ef01931fSBen Gras	* Fix configure script to detect wctypes.h (Mike Frysinger)
1197ef01931fSBen Gras
1198ef01931fSBen Gras2006-03-02 16:06 Christos Zoulas <christos@astron.com>
1199ef01931fSBen Gras
1200ef01931fSBen Gras	* Print empty if the file is (Mike Frysinger)
1201ef01931fSBen Gras
1202ef01931fSBen Gras	* Don't try to read past the end of the buffer (Mike Frysinger)
1203ef01931fSBen Gras
1204ef01931fSBen Gras	* Sort magic entries by strength [experimental]
1205ef01931fSBen Gras
1206ef01931fSBen Gras2005-11-29 13:26 Christos Zoulas <christos@astron.com>
1207ef01931fSBen Gras
1208ef01931fSBen Gras	* Use iswprint() to convert the output string.
1209ef01931fSBen Gras	    (Bastien Nocera)
1210ef01931fSBen Gras
1211ef01931fSBen Gras2005-10-31 8:54 Christos Zoulas <christos@astron.com>
1212ef01931fSBen Gras
1213ef01931fSBen Gras	* Fix regression where the core info was not completely processed
1214*0a6a1f1dSLionel Sambuc	    (Radek Vokal)
1215ef01931fSBen Gras
1216ef01931fSBen Gras2005-10-20 11:15 Christos Zoulas <christos@astron.com>
1217ef01931fSBen Gras
1218ef01931fSBen Gras	* Middle Endian magic (Diomidis Spinellis)
1219ef01931fSBen Gras
1220ef01931fSBen Gras2005-10-17 11:15 Christos Zoulas <christos@astron.com>
1221ef01931fSBen Gras
1222ef01931fSBen Gras	* Open with O_BINARY for CYGWIN (Corinna Vinschen)
1223ef01931fSBen Gras
1224ef01931fSBen Gras	* Don't close stdin (Arkadiusz Miskiewicz)
1225ef01931fSBen Gras
1226ef01931fSBen Gras	* Look for note sections in non executables.
1227ef01931fSBen Gras
1228ef01931fSBen Gras2005-09-20 13:33 Christos Zoulas <christos@astron.com>
1229ef01931fSBen Gras
1230ef01931fSBen Gras	* Don't print SVR4 Style in core files multiple times
1231*0a6a1f1dSLionel Sambuc	    (Radek Vokal)
1232ef01931fSBen Gras
1233ef01931fSBen Gras2005-08-27 04:09 Christos Zoulas <christos@astron.com>
1234ef01931fSBen Gras
1235ef01931fSBen Gras	* Cygwin changes Corinna Vinschen
1236ef01931fSBen Gras
1237ef01931fSBen Gras2005-08-18 09:53 Christos Zoulas <christos@astron.com>
1238ef01931fSBen Gras
1239ef01931fSBen Gras	* Remove erroreous mention of /etc/magic in the file man page
1240ef01931fSBen Gras	  This is gentoo bug 101639. (Mike Frysinger)
1241ef01931fSBen Gras
1242ef01931fSBen Gras	* Cross-compile support and detection (Mike Frysinger)
1243ef01931fSBen Gras
1244ef01931fSBen Gras2005-08-12 10:17 Christos Zoulas <christos@astron.com>
1245ef01931fSBen Gras
1246ef01931fSBen Gras	* Add -h flag and dereference symlinks if POSIXLY_CORRECT
1247ef01931fSBen Gras	  is set.
1248ef01931fSBen Gras
1249ef01931fSBen Gras2005-07-29 13:57 Christos Zoulas <christos@astron.com>
1250ef01931fSBen Gras
1251ef01931fSBen Gras	* Avoid search and regex buffer overflows (Kelledin)
1252ef01931fSBen Gras
1253ef01931fSBen Gras2005-07-12 11:48 Christos Zoulas <christos@astron.com>
1254ef01931fSBen Gras
1255ef01931fSBen Gras	* Provide stub implementations for {v,}nsprintf() for older
1256ef01931fSBen Gras	  OS's that don't have them.
1257ef01931fSBen Gras	* Change mbstate_t autoconf detection macro from AC_MBSTATE_T
1258ef01931fSBen Gras	  to AC_TYPE_MBSTATE_T.
1259ef01931fSBen Gras
1260ef01931fSBen Gras2005-06-25 11:48 Christos Zoulas <christos@astron.com>
1261ef01931fSBen Gras
1262ef01931fSBen Gras	* Dynamically allocate the string buffers and make the
1263ef01931fSBen Gras	  default read size 256K.
1264ef01931fSBen Gras
1265ef01931fSBen Gras2005-06-01 00:00 Joerg Sonnenberger <joerg@britannica.bec.de>
1266ef01931fSBen Gras
1267ef01931fSBen Gras	* Dragonfly ELF note support
1268ef01931fSBen Gras
1269ef01931fSBen Gras2005-03-14 00:00 Giuliano Bertoletti <gb@symbolic.it>
1270ef01931fSBen Gras
1271ef01931fSBen Gras	* Avoid NULL pointer dereference in time conversion.
1272ef01931fSBen Gras
1273ef01931fSBen Gras2005-03-06 00:00  Joerg Walter <jwalt@mail.garni.ch>
1274ef01931fSBen Gras
1275ef01931fSBen Gras	* Add indirect magic offset support, and search mode.
1276ef01931fSBen Gras
1277ef01931fSBen Gras2005-01-12 00:00  Stepan Kasal  <kasal@ucw.cz>
1278ef01931fSBen Gras
1279ef01931fSBen Gras	* src/ascmagic.c (file_ascmagic): Fix three bugs about text files:
1280ef01931fSBen Gras	  If a CRLF text file happens to have CR at offset HOWMANY - 1
1281ef01931fSBen Gras	  (currently 0xffff), it should not be counted as CR line
1282ef01931fSBen Gras	  terminator.
1283ef01931fSBen Gras	  If a line has length exactly MAXLINELEN, it should not yet be
1284ef01931fSBen Gras	  treated as a ``very long line'', as MAXLINELEN is ``longest sane
1285ef01931fSBen Gras	  line length''.
1286ef01931fSBen Gras	  With CRLF, the line length was not computed correctly, and even
1287ef01931fSBen Gras	  lines of length MAXLINELEN - 1 were treated as ``very long''.
1288ef01931fSBen Gras
1289ef01931fSBen Gras2004-12-07 14:15  Christos Zoulas  <christos@astron.com>
1290ef01931fSBen Gras
1291ef01931fSBen Gras	* bzip2 needs a lot of input buffer space on some files
1292ef01931fSBen Gras	  before it can begin uncompressing. This makes file -z
1293ef01931fSBen Gras	  fail on some bz2 files. Fix it by giving it a copy of
1294ef01931fSBen Gras	  the file descriptor to read as much as it wants if we
1295ef01931fSBen Gras	  have access to it. <christos@astron.com>
1296ef01931fSBen Gras
1297ef01931fSBen Gras2004-11-24 12:39  Christos Zoulas  <christos@astron.com>
1298ef01931fSBen Gras
1299ef01931fSBen Gras	* Stack smash fix, and ELF more conservative reading.
1300ef01931fSBen Gras	  Jakub Bogusz <qboosh@pld-linux.org>
1301ef01931fSBen Gras
1302ef01931fSBen Gras2004-11-20 18:50  Christos Zoulas  <christos@astron.com>
1303ef01931fSBen Gras
1304ef01931fSBen Gras	* New FreeBSD version parsing code:
1305ef01931fSBen Gras	  Jon Noack <noackjr@alumni.rice.edu>
1306ef01931fSBen Gras
1307ef01931fSBen Gras	* Hackish support for ucs16 strings <christos@astron.com>
1308ef01931fSBen Gras
1309ef01931fSBen Gras2004-11-13 03:07  Christos Zoulas  <christos@astron.com>
1310ef01931fSBen Gras
1311ef01931fSBen Gras	* print the file name and line number in syntax errors.
1312ef01931fSBen Gras
1313ef01931fSBen Gras2004 10-12 10:50  Christos Zoulas  <christos@astron.com>
1314ef01931fSBen Gras
1315ef01931fSBen Gras	* Fix stack overwriting on 0 length strings: Tim Waugh
1316ef01931fSBen Gras	    <twaugh@redhat.com> Ned Ludd <solar@gentoo.org>
1317ef01931fSBen Gras
1318ef01931fSBen Gras2004-09-27 11:30  Christos Zoulas  <christos@astron.com>
1319ef01931fSBen Gras
1320ef01931fSBen Gras	* Remove 3rd and 4th copyright clause; approved by Ian Darwin.
1321ef01931fSBen Gras
1322ef01931fSBen Gras	* Fix small memory leaks; caught by: Tamas Sarlos
1323ef01931fSBen Gras	    <stamas@csillag.ilab.sztaki.hu>
1324ef01931fSBen Gras
1325ef01931fSBen Gras2004-07-24 16:33  Christos Zoulas  <christos@astron.com>
1326ef01931fSBen Gras
1327ef01931fSBen Gras	* magic.mime update Danny Milosavljevic <danny.milo@gmx.net>
1328ef01931fSBen Gras
1329ef01931fSBen Gras	* FreeBSD version update Oliver Eikemeier <eikemeier@fillmore-labs.com>
1330ef01931fSBen Gras
1331ef01931fSBen Gras	* utime/utimes detection Ian Lance Taylor <ian@wasabisystems.com>
1332ef01931fSBen Gras
1333ef01931fSBen Gras  	* errors reading elf magic Jakub Bogusz <qboosh@pld-linux.org>
1334ef01931fSBen Gras
1335ef01931fSBen Gras2004-04-12 10:55  Christos Zoulas  <christos@astron.com>
1336ef01931fSBen Gras
1337ef01931fSBen Gras	* make sure that magic formats match magic types during compilation
1338ef01931fSBen Gras
1339ef01931fSBen Gras	* fix broken sgi magic file
1340ef01931fSBen Gras
1341ef01931fSBen Gras2004-04-06 20:36  Christos Zoulas  <christos@astron.com>
1342ef01931fSBen Gras
1343ef01931fSBen Gras	* detect present of mbstate_t Petter Reinholdtsen <pere@hungry.com>
1344ef01931fSBen Gras
1345ef01931fSBen Gras	* magic fixes
1346ef01931fSBen Gras
1347ef01931fSBen Gras2004-03-22 15:25  Christos Zoulas  <christos@astron.com>
1348ef01931fSBen Gras
1349ef01931fSBen Gras	* Lots of mime fixes
1350ef01931fSBen Gras	  (Joerg Ostertag) <ostertag@rechengilde.de>
1351ef01931fSBen Gras
1352ef01931fSBen Gras	* FreeBSD ELF version handling
1353ef01931fSBen Gras	  (Edwin Groothuis) <edwin@mavetju.org>
1354ef01931fSBen Gras
1355ef01931fSBen Gras	* correct cleanup in all cases; don't just close the file.
1356ef01931fSBen Gras	  (Christos Zoulas) <christos@astron.com>
1357ef01931fSBen Gras
1358ef01931fSBen Gras	* add gettext message catalogue support
1359ef01931fSBen Gras	  (Michael Piefel) <piefel@debian.org>
1360ef01931fSBen Gras
1361ef01931fSBen Gras	* better printout for unreadable files
1362ef01931fSBen Gras	  (Michael Piefel) <piefel@debian.org>
1363ef01931fSBen Gras
1364ef01931fSBen Gras	* compensate for missing MAXPATHLEN
1365ef01931fSBen Gras	  (Michael Piefel) <piefel@debian.org>
1366ef01931fSBen Gras
1367ef01931fSBen Gras	* add wide character string length computation
1368ef01931fSBen Gras	  (Michael Piefel) <piefel@debian.org>
1369ef01931fSBen Gras
1370ef01931fSBen Gras	* Avoid infinite loops caused by bad elf alignments
1371ef01931fSBen Gras	  or name and description note sizes. Reported by
1372ef01931fSBen Gras	  (Mikael Magnusson) <mmikael@comhem.se>
1373ef01931fSBen Gras
1374ef01931fSBen Gras2004-03-09 13:55  Christos Zoulas  <christos@astron.com>
1375ef01931fSBen Gras
1376ef01931fSBen Gras	* Fix possible memory leak on error and add missing regfree
1377ef01931fSBen Gras	  (Dmitry V. Levin) <ldv@altlinux.org>
1378ef01931fSBen Gras
1379ef01931fSBen Gras2003-12-23 12:12  Christos Zoulas  <christos@astron.com>
1380ef01931fSBen Gras
1381ef01931fSBen Gras	* fix -k flag (Maciej W. Rozycki)
1382ef01931fSBen Gras
1383ef01931fSBen Gras2003-11-18 14:10  Christos Zoulas  <christos@astron.com>
1384ef01931fSBen Gras
1385ef01931fSBen Gras	* Try to give us much info as possible on corrupt elf files.
1386ef01931fSBen Gras	  (Willy Tarreau) <willy@w.ods.org>
1387ef01931fSBen Gras	* Updated python bindings (Brett Funderburg)
1388ef01931fSBen Gras	   <brettf@deepfile.com>
1389ef01931fSBen Gras
1390ef01931fSBen Gras2003-11-11 15:03  Christos Zoulas  <christos@astron.com>
1391ef01931fSBen Gras
1392ef01931fSBen Gras	* Include file.h first, because it includes config.h
1393ef01931fSBen Gras	  breaks largefile test macros otherwise.
1394ef01931fSBen Gras	  (Paul Eggert <eggert@CS.UCLA.EDU> via
1395ef01931fSBen Gras	   Lars Hecking <lhecking@nmrc.ie>)
1396ef01931fSBen Gras
1397ef01931fSBen Gras2003-10-14 21:39  Christos Zoulas  <christos@astron.com>
1398ef01931fSBen Gras
1399ef01931fSBen Gras	* Python bindings (Brett Funderburg) <brettf@deepfile.com>
1400ef01931fSBen Gras	* Don't lookup past the end of the buffer
1401ef01931fSBen Gras	  (Chad Hanson) <chanson@tcs-sec.com>
1402ef01931fSBen Gras	* Add MAGIC_ERROR and api on magic_errno()
1403ef01931fSBen Gras
1404ef01931fSBen Gras2003-10-08 12:40  Christos Zoulas  <christos@astron.com>
1405ef01931fSBen Gras
1406ef01931fSBen Gras	* handle error conditions from compile as fatal
1407ef01931fSBen Gras	  (Antti Kantee) <pooka@netbsd.org>
1408ef01931fSBen Gras	* handle magic filename parsing sanely
1409ef01931fSBen Gras	* more magic fixes.
1410ef01931fSBen Gras	* fix a memory leak (Illes Marton) <illes.marton@balabit.hu>
1411ef01931fSBen Gras	* describe magic file handling
1412ef01931fSBen Gras	  (Bryan Henderson) <bryanh@giraffe-data.com>
1413ef01931fSBen Gras
1414ef01931fSBen Gras2003-09-12 15:09  Christos Zoulas  <christos@astron.com>
1415ef01931fSBen Gras
1416ef01931fSBen Gras	* update magic files.
1417ef01931fSBen Gras	* remove largefile support from file.h; it breaks things on most OS's
1418ef01931fSBen Gras
1419ef01931fSBen Gras2003-08-10 10:25  Christos Zoulas  <christos@astron.com>
1420ef01931fSBen Gras
1421ef01931fSBen Gras	* fix unmapping'ing of mmaped files.
1422ef01931fSBen Gras
1423ef01931fSBen Gras2003-07-10 12:03  Christos Zoulas  <christos@astron.com>
1424ef01931fSBen Gras
1425ef01931fSBen Gras	* don't exit with -1 on error; always exit 1 (Marty Leisner)
1426ef01931fSBen Gras	* restore utimes code.
1427ef01931fSBen Gras
1428ef01931fSBen Gras2003-06-10 17:03  Christos Zoulas  <christos@astron.com>
1429ef01931fSBen Gras
1430ef01931fSBen Gras	* make sure we don't access uninitialized memory.
1431ef01931fSBen Gras	* pass lint
1432ef01931fSBen Gras	* #ifdef __cplusplus in magic.h
1433ef01931fSBen Gras
1434ef01931fSBen Gras2003-05-25 19:23  Christos Zoulas  <christos@astron.com>
1435ef01931fSBen Gras
1436ef01931fSBen Gras	* rename cvs magic file to revision to deal with
1437ef01931fSBen Gras	  case insensitive filesystems.
1438ef01931fSBen Gras
1439ef01931fSBen Gras2003-05-23 17:03  Christos Zoulas  <christos@astron.com>
1440ef01931fSBen Gras
1441ef01931fSBen Gras	* documentation fixes from Michael Piefel <piefel@debian.org>
1442ef01931fSBen Gras	* magic fixes (various)
1443ef01931fSBen Gras	* revert basename magic in .mgc name determination
1444ef01931fSBen Gras	* buffer protection in uncompress,
1445ef01931fSBen Gras	  signness issues,
1446ef01931fSBen Gras	  close files
1447ef01931fSBen Gras	  Maciej W. Rozycki <macro@ds2.pg.gda.pl
1448ef01931fSBen Gras
1449ef01931fSBen Gras2003-04-21 20:12  Christos Zoulas  <christos@astron.com>
1450ef01931fSBen Gras
1451ef01931fSBen Gras	* fix zsh magic
1452ef01931fSBen Gras
1453ef01931fSBen Gras2003-04-04 16:59  Christos Zoulas  <christos@astron.com>
1454ef01931fSBen Gras
1455ef01931fSBen Gras	* fix operand sort order in string.
1456ef01931fSBen Gras
1457ef01931fSBen Gras2003-04-02 17:30  Christos Zoulas  <christos@astron.com>
1458ef01931fSBen Gras
1459ef01931fSBen Gras	* cleanup namespace in magic.h
1460ef01931fSBen Gras
1461ef01931fSBen Gras2003-04-02 13:50  Christos Zoulas  <christos@astron.com>
1462ef01931fSBen Gras
1463ef01931fSBen Gras	* Magic additions (Alex Ott)
1464ef01931fSBen Gras	* Fix bug that broke VPATH compilation (Peter Breitenlohner)
1465ef01931fSBen Gras
1466ef01931fSBen Gras2003-03-28 16:03  Christos Zoulas  <christos@astron.com>
1467ef01931fSBen Gras
1468ef01931fSBen Gras	* remove packed attribute from magic struct.
1469ef01931fSBen Gras	* make the magic struct properly aligned.
1470ef01931fSBen Gras	* bump version number of compiled files to 2.
1471ef01931fSBen Gras
1472ef01931fSBen Gras2003-03-27 13:10  Christos Zoulas  <christos@astron.com>
1473ef01931fSBen Gras
1474ef01931fSBen Gras	* separate tar detection and run it before softmagic.
1475ef01931fSBen Gras	* fix reversed symlink test.
1476ef01931fSBen Gras	* fix version printing.
1477ef01931fSBen Gras	* make separator a string instead of a char.
1478ef01931fSBen Gras	* update manual page and sort options.
1479ef01931fSBen Gras
1480ef01931fSBen Gras2003-03-26 11:00  Christos Zoulas  <christos@astron.com>
1481ef01931fSBen Gras
1482ef01931fSBen Gras	* Pass lint
1483ef01931fSBen Gras	* make NULL in magic_file mean stdin
1484ef01931fSBen Gras	* Fix "-" argument to file to pass NULL to magic_file
1485ef01931fSBen Gras	* avoid pointer casts by using memcpy
1486ef01931fSBen Gras	* rename magic_buf -> magic_buffer
1487ef01931fSBen Gras	* keep only the first error
1488ef01931fSBen Gras	* manual page: new sentence, new line
1489ef01931fSBen Gras	* fix typo in api function (magic_buf -> magic_buffer)
1490