]> granicus.if.org Git - file/log
file
15 years agomention latest fix.
Christos Zoulas [Mon, 23 Mar 2009 14:22:48 +0000 (14:22 +0000)]
mention latest fix.

15 years agoavoid descriptor leak in compress code. Daniel Novotny <dnovotny@redhat.com>
Christos Zoulas [Mon, 23 Mar 2009 14:21:51 +0000 (14:21 +0000)]
avoid descriptor leak in compress code. Daniel Novotny <dnovotny@redhat.com>

15 years agofix sign comparison warning.
Christos Zoulas [Sun, 22 Mar 2009 23:27:33 +0000 (23:27 +0000)]
fix sign comparison warning.

15 years agoinclude file.h to get prototypes.
Christos Zoulas [Sun, 22 Mar 2009 23:27:05 +0000 (23:27 +0000)]
include file.h to get prototypes.

15 years agoremove extra locale.h that is not needed.
Christos Zoulas [Fri, 20 Mar 2009 21:25:41 +0000 (21:25 +0000)]
remove extra locale.h that is not needed.

15 years ago- allow escaping relation characters.
Christos Zoulas [Wed, 18 Mar 2009 15:19:23 +0000 (15:19 +0000)]
- allow escaping relation characters.
- fix troff and fortran magic.

15 years agodon't use strlen in strndup().
Christos Zoulas [Tue, 10 Mar 2009 20:52:50 +0000 (20:52 +0000)]
don't use strlen in strndup().

15 years agoavoid c99 syntax.
Christos Zoulas [Tue, 10 Mar 2009 11:44:29 +0000 (11:44 +0000)]
avoid c99 syntax.

15 years agoadd kml
Christos Zoulas [Thu, 5 Mar 2009 22:40:59 +0000 (22:40 +0000)]
add kml

15 years agoadd xz compression.
Christos Zoulas [Thu, 5 Mar 2009 22:40:28 +0000 (22:40 +0000)]
add xz compression.
From: =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb@rpm5.org>

15 years agono null after romfs.
Christos Zoulas [Thu, 5 Mar 2009 15:37:02 +0000 (15:37 +0000)]
no null after romfs.

15 years agofix erlang magic add kml.
Christos Zoulas [Tue, 3 Mar 2009 21:19:42 +0000 (21:19 +0000)]
fix erlang magic add kml.

15 years agooops forgot to commit the EFTYPE removal.
Christos Zoulas [Wed, 25 Feb 2009 14:01:25 +0000 (14:01 +0000)]
oops forgot to commit the EFTYPE removal.

15 years agoquote gcc.
Christos Zoulas [Tue, 24 Feb 2009 21:53:13 +0000 (21:53 +0000)]
quote gcc.

15 years agomake memory read return the proper length.
Christos Zoulas [Mon, 23 Feb 2009 20:51:55 +0000 (20:51 +0000)]
make memory read return the proper length.

15 years agomention using the buffer for cdf files.
Christos Zoulas [Mon, 23 Feb 2009 20:45:56 +0000 (20:45 +0000)]
mention using the buffer for cdf files.

15 years agomake cdf use the buffer first if available.
Christos Zoulas [Mon, 23 Feb 2009 20:44:47 +0000 (20:44 +0000)]
make cdf use the buffer first if available.

15 years agoremove wrong conversion to strlcpy/strlcat. Cygwin does not need this anymore
Christos Zoulas [Fri, 20 Feb 2009 15:19:20 +0000 (15:19 +0000)]
remove wrong conversion to strlcpy/strlcat. Cygwin does not need this anymore
since the open transparently adds .exe for > 1.7.

15 years agomv pkgdatadir to misc instead of creating a file directory just to contain
Christos Zoulas [Tue, 17 Feb 2009 16:54:04 +0000 (16:54 +0000)]
mv pkgdatadir to misc instead of creating a file directory just to contain
one file.

15 years agodon't check for NULL. It can't be.
Christos Zoulas [Tue, 17 Feb 2009 16:29:03 +0000 (16:29 +0000)]
don't check for NULL. It can't be.

15 years agoadd autoinstall
Christos Zoulas [Tue, 17 Feb 2009 14:00:25 +0000 (14:00 +0000)]
add autoinstall

15 years agoadd notes for 5.x
Christos Zoulas [Sat, 14 Feb 2009 15:16:24 +0000 (15:16 +0000)]
add notes for 5.x

15 years agorecent changes.
Christos Zoulas [Fri, 13 Feb 2009 18:48:05 +0000 (18:48 +0000)]
recent changes.

15 years agoconvert strings to printable form. XXX: no locale information processing.
Christos Zoulas [Fri, 13 Feb 2009 18:46:48 +0000 (18:46 +0000)]
convert strings to printable form. XXX: no locale information processing.

15 years agofix leak, from Robert G.
Christos Zoulas [Fri, 13 Feb 2009 18:24:18 +0000 (18:24 +0000)]
fix leak, from Robert G.

15 years agofix english in error messages.
Christos Zoulas [Tue, 10 Feb 2009 16:17:47 +0000 (16:17 +0000)]
fix english in error messages.

15 years agomention last fix.
Christos Zoulas [Wed, 4 Feb 2009 18:25:17 +0000 (18:25 +0000)]
mention last fix.

15 years agofix warnings on OS/2
Christos Zoulas [Wed, 4 Feb 2009 18:24:32 +0000 (18:24 +0000)]
fix warnings on OS/2

15 years agofix include files. FILE5_00
Christos Zoulas [Tue, 3 Feb 2009 20:27:51 +0000 (20:27 +0000)]
fix include files.

15 years ago00
Christos Zoulas [Tue, 3 Feb 2009 20:15:21 +0000 (20:15 +0000)]
00

15 years agoImprove comments to point to where more information can be found and
Reuben Thomas [Mon, 2 Feb 2009 22:03:52 +0000 (22:03 +0000)]
Improve comments to point to where more information can be found and
file descriptions to be clearer.

15 years agoComment out too-general pattern.
Reuben Thomas [Mon, 2 Feb 2009 21:51:42 +0000 (21:51 +0000)]
Comment out too-general pattern.

15 years agoJPEG-2000 from Petr Splichal <psplicha@redhat.com>
Christos Zoulas [Mon, 2 Feb 2009 15:57:04 +0000 (15:57 +0000)]
JPEG-2000 from Petr Splichal <psplicha@redhat.com>

15 years agoadd wireless
Christos Zoulas [Wed, 28 Jan 2009 02:11:20 +0000 (02:11 +0000)]
add wireless

15 years agoFrom: "Luis R. Rodriguez" <lrodriguez@atheros.com>
Christos Zoulas [Wed, 28 Jan 2009 02:10:23 +0000 (02:10 +0000)]
From: "Luis R. Rodriguez" <lrodriguez@atheros.com>

16 years agofile 5.0
Christos Zoulas [Wed, 21 Jan 2009 19:09:42 +0000 (19:09 +0000)]
file 5.0

16 years agofix compilation in weird systems from Scott MacVicar scott at macvicar dot net
Christos Zoulas [Mon, 12 Jan 2009 20:15:11 +0000 (20:15 +0000)]
fix compilation in weird systems from Scott MacVicar scott at macvicar dot net

16 years agoEric Sandeen -> Daniel Novotny BTRFS
Christos Zoulas [Mon, 12 Jan 2009 13:47:11 +0000 (13:47 +0000)]
Eric Sandeen -> Daniel Novotny BTRFS

16 years agoAdd TODO to fix the output system.
Reuben Thomas [Mon, 22 Dec 2008 11:27:08 +0000 (11:27 +0000)]
Add TODO to fix the output system.

16 years agoenable graphwiz again adding mandatory space after "graph"
Christos Zoulas [Mon, 15 Dec 2008 16:58:13 +0000 (16:58 +0000)]
enable graphwiz again adding mandatory space after "graph"

16 years agoadd cabinet mime from Ville =?iso-8859-1?q?Skytt=E4?= <ville.skytta@iki.fi>
Christos Zoulas [Fri, 12 Dec 2008 21:05:21 +0000 (21:05 +0000)]
add cabinet mime from Ville =?iso-8859-1?q?Skytt=E4?= <ville.skytta@iki.fi>

16 years ago- avoid infinite loops
Christos Zoulas [Fri, 12 Dec 2008 20:53:02 +0000 (20:53 +0000)]
- avoid infinite loops
- fix initial offset in non 4K sector CDF files.

16 years agolet normal magic deal with documents without summary info.
Christos Zoulas [Wed, 3 Dec 2008 22:54:02 +0000 (22:54 +0000)]
let normal magic deal with documents without summary info.

16 years ago- grab the offsets from the header instead of computing them ourselves.
Christos Zoulas [Wed, 3 Dec 2008 22:49:41 +0000 (22:49 +0000)]
- grab the offsets from the header instead of computing them ourselves.
- handle 64 bit and empty entries.

16 years agomention today's changes.
Christos Zoulas [Wed, 3 Dec 2008 18:06:57 +0000 (18:06 +0000)]
mention today's changes.

16 years agoreturn an error if any of the files failed not just the last one.
Christos Zoulas [Wed, 3 Dec 2008 18:05:18 +0000 (18:05 +0000)]
return an error if any of the files failed not just the last one.

16 years agofix more memory corruption, from realloc'ing info.
Christos Zoulas [Wed, 3 Dec 2008 16:16:30 +0000 (16:16 +0000)]
fix more memory corruption, from realloc'ing info.

16 years agomake the source descriptions more up-to-date.
Christos Zoulas [Tue, 2 Dec 2008 16:34:46 +0000 (16:34 +0000)]
make the source descriptions more up-to-date.

16 years agofix bogus perl test.
Christos Zoulas [Tue, 2 Dec 2008 16:26:17 +0000 (16:26 +0000)]
fix bogus perl test.

16 years agouncomment epoc documents.
Christos Zoulas [Sat, 29 Nov 2008 00:32:18 +0000 (00:32 +0000)]
uncomment epoc documents.

16 years agofix memory allocation botches.
Christos Zoulas [Fri, 28 Nov 2008 17:08:28 +0000 (17:08 +0000)]
fix memory allocation botches.

16 years agoadd lzip.
Christos Zoulas [Thu, 27 Nov 2008 22:16:54 +0000 (22:16 +0000)]
add lzip.

16 years agoadd lzip
Christos Zoulas [Wed, 26 Nov 2008 14:14:16 +0000 (14:14 +0000)]
add lzip

16 years ago* Replace all str{cpy,cat} functions with strl{cpy,cat}
Charles Longeau [Sat, 22 Nov 2008 17:01:27 +0000 (17:01 +0000)]
* Replace all str{cpy,cat} functions with strl{cpy,cat}
* Ensure that strl{cpy,cat} are included in libmagic,
  as needed.

ok Christos

16 years agoadd altera
Christos Zoulas [Thu, 13 Nov 2008 00:55:43 +0000 (00:55 +0000)]
add altera

16 years agoanother mp3
Christos Zoulas [Fri, 7 Nov 2008 22:51:00 +0000 (22:51 +0000)]
another mp3

16 years ago- split moffset out of mprint.
Christos Zoulas [Fri, 7 Nov 2008 22:50:37 +0000 (22:50 +0000)]
- split moffset out of mprint.
- when indirect, remember that we were successful in returnval.
- check mget() error code.
- use print to conditionally code mprint.

16 years agodon't pretend that we are text if encoding determined we are binary.
Christos Zoulas [Fri, 7 Nov 2008 19:10:25 +0000 (19:10 +0000)]
don't pretend that we are text if encoding determined we are binary.

16 years agohandle encoding better.
Christos Zoulas [Fri, 7 Nov 2008 18:57:28 +0000 (18:57 +0000)]
handle encoding better.

16 years agocompat code for old .mime files.
Christos Zoulas [Fri, 7 Nov 2008 18:57:08 +0000 (18:57 +0000)]
compat code for old .mime files.

16 years agoAdd .libs to .cvsignore.
Reuben Thomas [Fri, 7 Nov 2008 17:42:59 +0000 (17:42 +0000)]
Add .libs to .cvsignore.

16 years agorestructure for readability and debugability. XXX the ascii stuff needs cleanup!
Christos Zoulas [Fri, 7 Nov 2008 17:27:22 +0000 (17:27 +0000)]
restructure for readability and debugability. XXX the ascii stuff needs cleanup!

16 years agodon't walk past the end of buffer causing segv.
Christos Zoulas [Fri, 7 Nov 2008 17:26:44 +0000 (17:26 +0000)]
don't walk past the end of buffer causing segv.

16 years agochange && to &
Christos Zoulas [Fri, 7 Nov 2008 17:26:17 +0000 (17:26 +0000)]
change && to &

16 years agowhen -i don't print application/x-directorybinary.
Christos Zoulas [Fri, 7 Nov 2008 17:25:59 +0000 (17:25 +0000)]
when -i don't print application/x-directorybinary.

16 years agowe don't need a dup of mp3 magic now that we correctly handle ID3 tags.
Christos Zoulas [Fri, 7 Nov 2008 15:44:37 +0000 (15:44 +0000)]
we don't need a dup of mp3 magic now that we correctly handle ID3 tags.

16 years agoHandle ID3 files.
Christos Zoulas [Thu, 6 Nov 2008 23:22:53 +0000 (23:22 +0000)]
Handle ID3 files.

16 years agoFixes to MIME detection.
Reuben Thomas [Thu, 6 Nov 2008 22:49:08 +0000 (22:49 +0000)]
Fixes to MIME detection.

16 years agoNote dodgy magic.
Reuben Thomas [Thu, 6 Nov 2008 21:36:56 +0000 (21:36 +0000)]
Note dodgy magic.

16 years agoGive failure, not error return code in case of non-identification.
Reuben Thomas [Thu, 6 Nov 2008 21:36:44 +0000 (21:36 +0000)]
Give failure, not error return code in case of non-identification.

16 years agoThis check-in mostly fixes a bunch of problems with MIME checks. It's
Reuben Thomas [Thu, 6 Nov 2008 21:17:45 +0000 (21:17 +0000)]
This check-in mostly fixes a bunch of problems with MIME checks. It's
been tested, but there are probably still gotchas lurking.

       * Fix --mime, --mime-type and --mime-encoding under new scheme.

       * Return a precise ("utf-16le" or "utf-16be") MIME charset for
 UTF-16.

       * Fix error in comment caused by automatic indentation adding
 words!

       * Fix a printf with a non-literal format string.

       * Fix formatting and punctuation of help for "--apple".

16 years agoID3 needn't mean audio/mpeg, so comment out that test. It could mean
Reuben Thomas [Thu, 6 Nov 2008 21:15:47 +0000 (21:15 +0000)]
ID3 needn't mean audio/mpeg, so comment out that test. It could mean
Ogg, for example. Sigh.

16 years agouse memchr instead of strchr because the strign might not be NUL terminated.
Christos Zoulas [Thu, 6 Nov 2008 15:38:28 +0000 (15:38 +0000)]
use memchr instead of strchr because the strign might not be NUL terminated.

16 years agodon't let gcc throw out our ident strings.
Christos Zoulas [Tue, 4 Nov 2008 16:48:42 +0000 (16:48 +0000)]
don't let gcc throw out our ident strings.

16 years agomake sure that we always include "file.h" first which includes config.h
Christos Zoulas [Tue, 4 Nov 2008 16:38:28 +0000 (16:38 +0000)]
make sure that we always include "file.h" first which includes config.h
and add rcsid's to all files.

16 years agoFix a printf with a non-literal format string.
Reuben Thomas [Mon, 3 Nov 2008 06:18:34 +0000 (06:18 +0000)]
Fix a printf with a non-literal format string.

16 years agoexplain what this does.
Christos Zoulas [Mon, 3 Nov 2008 05:34:27 +0000 (05:34 +0000)]
explain what this does.

16 years agoFix punctuation of "Apple".
Reuben Thomas [Sun, 2 Nov 2008 22:07:11 +0000 (22:07 +0000)]
Fix punctuation of "Apple".

16 years agoFix formatting of --apple documentation.
Reuben Thomas [Sun, 2 Nov 2008 22:06:33 +0000 (22:06 +0000)]
Fix formatting of --apple documentation.

16 years agoAdd a FIXME for magic file order reading.
Reuben Thomas [Thu, 30 Oct 2008 10:54:06 +0000 (10:54 +0000)]
Add a FIXME for magic file order reading.

16 years agoFix output of charset in MIME type: precede by semi-colon. Fixes
Reuben Thomas [Thu, 30 Oct 2008 10:50:24 +0000 (10:50 +0000)]
Fix output of charset in MIME type: precede by semi-colon. Fixes
Debian bug #501460.

Fix potential attacks via conversion specifications in magic strings.

16 years agoFix handle_annotation to allow both Apple and MIME types to be
Reuben Thomas [Thu, 30 Oct 2008 10:43:49 +0000 (10:43 +0000)]
Fix handle_annotation to allow both Apple and MIME types to be
printed, and to return correct code if MIME type is printed (1, not 0)
or if there's an error (-1 not 1).

16 years agoCorrect counts in struct magic words-per-field comments.
Reuben Thomas [Thu, 30 Oct 2008 09:51:46 +0000 (09:51 +0000)]
Correct counts in struct magic words-per-field comments.

16 years agoadd xcursor
Christos Zoulas [Wed, 29 Oct 2008 13:54:42 +0000 (13:54 +0000)]
add xcursor

16 years agomake sure that the error info is set.
Christos Zoulas [Mon, 20 Oct 2008 19:04:12 +0000 (19:04 +0000)]
make sure that the error info is set.

16 years agomore autoconf glue.
Christos Zoulas [Mon, 20 Oct 2008 17:20:41 +0000 (17:20 +0000)]
more autoconf glue.

16 years agocleanups for non BSD compilation.
Christos Zoulas [Mon, 20 Oct 2008 15:14:17 +0000 (15:14 +0000)]
cleanups for non BSD compilation.

16 years agoadd apple creator/type
Christos Zoulas [Sat, 18 Oct 2008 20:47:47 +0000 (20:47 +0000)]
add apple creator/type

16 years agoadd cdf.h
Christos Zoulas [Fri, 17 Oct 2008 18:07:42 +0000 (18:07 +0000)]
add cdf.h

16 years agobetter handling of mime encodings.
Christos Zoulas [Thu, 16 Oct 2008 16:31:16 +0000 (16:31 +0000)]
better handling of mime encodings.

16 years agoreturn NULL rather than core-dumping if no magic output is set.
Christos Zoulas [Thu, 16 Oct 2008 16:30:34 +0000 (16:30 +0000)]
return NULL rather than core-dumping if no magic output is set.

16 years agotry to read more types [does not work yet]
Christos Zoulas [Thu, 16 Oct 2008 16:29:56 +0000 (16:29 +0000)]
try to read more types [does not work yet]

16 years agobetter handling of last sector.
Christos Zoulas [Tue, 14 Oct 2008 13:40:01 +0000 (13:40 +0000)]
better handling of last sector.

16 years agopretty-print the OS.
Christos Zoulas [Tue, 14 Oct 2008 10:38:22 +0000 (10:38 +0000)]
pretty-print the OS.

16 years agofix confusion about short and long streams.
Christos Zoulas [Mon, 13 Oct 2008 18:23:47 +0000 (18:23 +0000)]
fix confusion about short and long streams.

16 years agoworks on be-64 now.
Christos Zoulas [Sun, 12 Oct 2008 21:09:58 +0000 (21:09 +0000)]
works on be-64 now.

16 years agore-factor so that we don't have code duplication in readcdf and cdf.
Christos Zoulas [Sun, 12 Oct 2008 21:04:49 +0000 (21:04 +0000)]
re-factor so that we don't have code duplication in readcdf and cdf.

16 years agomore byte order fixes.
Christos Zoulas [Sun, 12 Oct 2008 19:37:04 +0000 (19:37 +0000)]
more byte order fixes.

16 years agoDeal with 64 bit machines (structure packing)
Christos Zoulas [Sun, 12 Oct 2008 19:06:36 +0000 (19:06 +0000)]
Deal with 64 bit machines (structure packing)

16 years agomention cdf.
Christos Zoulas [Sun, 12 Oct 2008 18:12:57 +0000 (18:12 +0000)]
mention cdf.