]> granicus.if.org Git - file/log
file
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.

16 years agofirst try at byte order neutral code.
Christos Zoulas [Sun, 12 Oct 2008 17:07:14 +0000 (17:07 +0000)]
first try at byte order neutral code.

16 years agoadd cdf support.
Christos Zoulas [Sun, 12 Oct 2008 15:38:51 +0000 (15:38 +0000)]
add cdf support.

16 years agomore magic patches
Christos Zoulas [Thu, 9 Oct 2008 20:48:33 +0000 (20:48 +0000)]
more magic patches

16 years agofix doc
Christos Zoulas [Thu, 9 Oct 2008 17:25:48 +0000 (17:25 +0000)]
fix doc

16 years agoremove obsolete excludes
Christos Zoulas [Thu, 9 Oct 2008 17:25:01 +0000 (17:25 +0000)]
remove obsolete excludes

16 years agorevert previous
Christos Zoulas [Thu, 9 Oct 2008 17:24:03 +0000 (17:24 +0000)]
revert previous

16 years agomention latest fix
Christos Zoulas [Thu, 9 Oct 2008 17:20:32 +0000 (17:20 +0000)]
mention latest fix

16 years agocorrect exclude issues from Randy McMurchy <randy@linuxfromscratch.org>
Christos Zoulas [Thu, 9 Oct 2008 17:19:11 +0000 (17:19 +0000)]
correct exclude issues from Randy McMurchy <randy@linuxfromscratch.org>

16 years agoremove magic.mime references.
Christos Zoulas [Mon, 6 Oct 2008 20:16:04 +0000 (20:16 +0000)]
remove magic.mime references.

16 years agofix reading of ~/.magic
Christos Zoulas [Wed, 1 Oct 2008 14:30:45 +0000 (14:30 +0000)]
fix reading of ~/.magic

16 years agoadd bink
Christos Zoulas [Wed, 1 Oct 2008 14:14:45 +0000 (14:14 +0000)]
add bink

16 years agomore timezone details.
Christos Zoulas [Tue, 23 Sep 2008 14:49:23 +0000 (14:49 +0000)]
more timezone details.

16 years agoadd version from Edwin Groothuis edwin at freebsd.org
Christos Zoulas [Tue, 23 Sep 2008 14:37:50 +0000 (14:37 +0000)]
add version from Edwin Groothuis edwin at freebsd.org

16 years agomdump is not available with COMPILE_ONLY
Christos Zoulas [Tue, 23 Sep 2008 14:34:25 +0000 (14:34 +0000)]
mdump is not available with COMPILE_ONLY

16 years agotypo in mask.
Christos Zoulas [Tue, 23 Sep 2008 14:26:45 +0000 (14:26 +0000)]
typo in mask.

16 years agoseparate the mach-o java and jar entries since they cannot share mime types.
Christos Zoulas [Tue, 23 Sep 2008 14:26:32 +0000 (14:26 +0000)]
separate the mach-o java and jar entries since they cannot share mime types.

16 years agoadd meta
Christos Zoulas [Fri, 12 Sep 2008 17:54:05 +0000 (17:54 +0000)]
add meta

16 years agoComment out the graphviz patterns, as they match far too many files.
Reuben Thomas [Wed, 10 Sep 2008 21:30:28 +0000 (21:30 +0000)]
Comment out the graphviz patterns, as they match far too many files.
Explanation given. I suggest mailing the graphviz people to ask if
anyone wants to sort them out.

16 years agoremove *li.
Christos Zoulas [Tue, 2 Sep 2008 07:11:30 +0000 (07:11 +0000)]
remove *li.

16 years agomore lint fixes.
Christos Zoulas [Sun, 31 Aug 2008 07:58:00 +0000 (07:58 +0000)]
more lint fixes.

16 years agofix printf format
Christos Zoulas [Sun, 31 Aug 2008 04:52:03 +0000 (04:52 +0000)]
fix printf format

16 years agofix LP64 build
Christos Zoulas [Sat, 30 Aug 2008 17:51:09 +0000 (17:51 +0000)]
fix LP64 build

16 years agofile 4.26 FILE4_26
Christos Zoulas [Sat, 30 Aug 2008 10:01:01 +0000 (10:01 +0000)]
file 4.26

16 years agomention not so recent changes.
Christos Zoulas [Sat, 30 Aug 2008 09:59:59 +0000 (09:59 +0000)]
mention not so recent changes.

16 years agodocument strength directive
Christos Zoulas [Sat, 30 Aug 2008 09:50:20 +0000 (09:50 +0000)]
document strength directive

16 years agofix png.
Christos Zoulas [Wed, 27 Aug 2008 10:30:04 +0000 (10:30 +0000)]
fix png.

16 years agoAdd text/x-lua MIME type for Lua scripts.
Reuben Thomas [Mon, 25 Aug 2008 23:56:32 +0000 (23:56 +0000)]
Add text/x-lua MIME type for Lua scripts.

16 years ago{ needs escaping in regex.
Reuben Thomas [Mon, 25 Aug 2008 23:54:20 +0000 (23:54 +0000)]
{ needs escaping in regex.

16 years agoadd warc
Christos Zoulas [Fri, 8 Aug 2008 08:24:06 +0000 (08:24 +0000)]
add warc

16 years agoadd web archive.
Christos Zoulas [Fri, 8 Aug 2008 08:19:40 +0000 (08:19 +0000)]
add web archive.

16 years agomore whitespace matches.
Christos Zoulas [Thu, 7 Aug 2008 09:22:58 +0000 (09:22 +0000)]
more whitespace matches.

16 years agoadd graphviz
Christos Zoulas [Mon, 28 Jul 2008 19:08:29 +0000 (19:08 +0000)]
add graphviz

16 years agoremove unused var.
Christos Zoulas [Mon, 28 Jul 2008 17:25:21 +0000 (17:25 +0000)]
remove unused var.

16 years agoadd magic for graphviz.
Christos Zoulas [Mon, 28 Jul 2008 17:13:32 +0000 (17:13 +0000)]
add magic for graphviz.

16 years agoDocument my recent changes.
Reuben Thomas [Sun, 27 Jul 2008 12:21:14 +0000 (12:21 +0000)]
Document my recent changes.

16 years agoAdd a TODO file based on bugs and wishlist items in Debian BTS
Reuben Thomas [Sat, 26 Jul 2008 00:24:17 +0000 (00:24 +0000)]
Add a TODO file based on bugs and wishlist items in Debian BTS

16 years agoHave finer-grained pseudo-MIME types for non-regular files.
Reuben Thomas [Fri, 25 Jul 2008 23:59:01 +0000 (23:59 +0000)]
Have finer-grained pseudo-MIME types for non-regular files.

16 years agoChange info_from_stat to unreadable_info, using access to determine
Reuben Thomas [Fri, 25 Jul 2008 23:30:32 +0000 (23:30 +0000)]
Change info_from_stat to unreadable_info, using access to determine
information more accurately and comprehensibly.

16 years agoAdd a FIXME for JPEG comments
Reuben Thomas [Fri, 25 Jul 2008 14:20:19 +0000 (14:20 +0000)]
Add a FIXME for JPEG comments

16 years agoadd sitemap
Christos Zoulas [Tue, 22 Jul 2008 15:59:06 +0000 (15:59 +0000)]
add sitemap

16 years agofix swap8; from toby@apple.com
Christos Zoulas [Sun, 20 Jul 2008 04:02:15 +0000 (04:02 +0000)]
fix swap8; from toby@apple.com

16 years agodon't eat trailing \n.
Christos Zoulas [Sat, 19 Jul 2008 14:32:21 +0000 (14:32 +0000)]
don't eat trailing \n.

16 years agoadd bonus for descriptionless entries.
Christos Zoulas [Fri, 18 Jul 2008 17:24:06 +0000 (17:24 +0000)]
add bonus for descriptionless entries.

16 years agomake this compilable with a c++ compiler.
Christos Zoulas [Wed, 16 Jul 2008 18:00:57 +0000 (18:00 +0000)]
make this compilable with a c++ compiler.

16 years agodeal with gcc'isms FILE4_25
Christos Zoulas [Tue, 15 Jul 2008 17:45:13 +0000 (17:45 +0000)]
deal with gcc'isms

16 years agoremove cdefs.h macros.
Christos Zoulas [Sat, 5 Jul 2008 15:44:36 +0000 (15:44 +0000)]
remove cdefs.h macros.

16 years agono <sys/cdefs.h> and no __P
Christos Zoulas [Fri, 4 Jul 2008 18:31:38 +0000 (18:31 +0000)]
no <sys/cdefs.h> and no __P

16 years agoadd mygetopt.h
Christos Zoulas [Thu, 3 Jul 2008 16:42:51 +0000 (16:42 +0000)]
add mygetopt.h

16 years agomake jpeg stronger than other short magic
Christos Zoulas [Thu, 3 Jul 2008 15:59:32 +0000 (15:59 +0000)]
make jpeg stronger than other short magic

16 years agomore portability ifdefs
Christos Zoulas [Thu, 3 Jul 2008 15:53:10 +0000 (15:53 +0000)]
more portability ifdefs

16 years agomore fixes for ancient systems
Christos Zoulas [Thu, 3 Jul 2008 15:48:18 +0000 (15:48 +0000)]
more fixes for ancient systems

16 years agowelcome to 4.25
Christos Zoulas [Wed, 2 Jul 2008 15:27:05 +0000 (15:27 +0000)]
welcome to 4.25

16 years ago- strength addition
Christos Zoulas [Wed, 2 Jul 2008 15:22:46 +0000 (15:22 +0000)]
- strength addition
- magic patches

16 years agomention the date lisp version changed.
Christos Zoulas [Sat, 28 Jun 2008 14:48:05 +0000 (14:48 +0000)]
mention the date lisp version changed.

16 years agoEfficiency hack.
Christos Zoulas [Fri, 27 Jun 2008 22:23:54 +0000 (22:23 +0000)]
Efficiency hack.

16 years agoadd x3d
Christos Zoulas [Fri, 27 Jun 2008 17:21:20 +0000 (17:21 +0000)]
add x3d

16 years agoupdate clisp from From: Sam Steingold <sds@gnu.org>
Christos Zoulas [Tue, 24 Jun 2008 11:56:30 +0000 (11:56 +0000)]
update clisp from From: Sam Steingold <sds@gnu.org>

16 years agofix cross compilation. from Grant Erickson <gerickson@nuovations.com>
Christos Zoulas [Tue, 17 Jun 2008 17:49:11 +0000 (17:49 +0000)]
fix cross compilation. from Grant Erickson <gerickson@nuovations.com>

16 years agoNote two changes.
Reuben Thomas [Mon, 16 Jun 2008 20:43:26 +0000 (20:43 +0000)]
Note two changes.

16 years agoAdd MIME type for Psion Sketch files.
Reuben Thomas [Mon, 16 Jun 2008 20:41:27 +0000 (20:41 +0000)]
Add MIME type for Psion Sketch files.

16 years agoAdd needed test for per-target C compiler flags.
Reuben Thomas [Mon, 16 Jun 2008 20:41:14 +0000 (20:41 +0000)]
Add needed test for per-target C compiler flags.

16 years agomention last change.
Christos Zoulas [Thu, 5 Jun 2008 13:01:34 +0000 (13:01 +0000)]
mention last change.

16 years agoComment #3 From Jakub Jelinek on 2006-10-06 07:42 EST [reply]
Christos Zoulas [Thu, 5 Jun 2008 12:59:15 +0000 (12:59 +0000)]
Comment #3 From Jakub Jelinek    on 2006-10-06 07:42 EST   [reply]
The file is the stripped-into-separate-file debuginfo, in which sections that
are present in the stripped file are made SHT_NOBITS and not present at all.
So, file needs to check for SHT_NOBITS .note sections and don't look at them
at all.  Currently it just reads some completely unrelated data (probably
part of one of the .debug_* sections).

Comment #6 From Jakub Jelinek  on 2006-10-17 10:48 EST  [reply]
Proposed patch.  While it would be possible to do what I proposed (i.e.
for each PT_NOTE look up in section header table in which section the virtual
address falls in and test if it is not SHT_NOBITS), this is far easier and
faster
and has a nice side-effect that it doesn't duplication information in file
output.  Unpatched file will e.g. say:
file /bin/bash
/bin/bash: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for
GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9,
stripped
(note the .note.ABI-tag section being parsed and printed twice, once when found
through PT_NOTE, once when found through SHT_NOTE).  When the executable has
a section header table, then it is safe to assume that either there will be
a SHT_NOTE section corresponding to the PT_NOTE program header, or it will be
SHT_NOBITS in a debuginfo file (at which point it is not present).

16 years agoFrom: =?UTF-8?B?VG9tw6HFoQ==?= Smetana <tsmetana@redhat.com>
Christos Zoulas [Wed, 4 Jun 2008 18:03:16 +0000 (18:03 +0000)]
From: =?UTF-8?B?VG9tw6HFoQ==?= Smetana <tsmetana@redhat.com>

file-4.24-efi.patch:  Changes the detection of MS-DOS executables, adds
support for various PE32/PE32+ executables, reports Windows executables as
PE32 not MS-DOS

file-4.24-gfs2.patch: Adds GFS2 filesystem detection

file-4.24-lvm.patch: LVM snapshots

file-4.24-oracle.patch: Oracle filesystems

16 years agoSolaris enchancements from Bob Byrnes.
Christos Zoulas [Wed, 28 May 2008 21:02:28 +0000 (21:02 +0000)]
Solaris enchancements from Bob Byrnes.

16 years agoput back compressed entries
Christos Zoulas [Thu, 22 May 2008 19:02:03 +0000 (19:02 +0000)]
put back compressed entries

16 years agoUse sizeof instead of array length from Charles Longeau
Christos Zoulas [Sun, 18 May 2008 23:21:17 +0000 (23:21 +0000)]
Use sizeof instead of array length from Charles Longeau

16 years agoAvoid printing a bad pointer from Charles Longeau
Christos Zoulas [Sun, 18 May 2008 23:20:40 +0000 (23:20 +0000)]
Avoid printing a bad pointer from Charles Longeau

16 years agofix vprintf bug.
Christos Zoulas [Fri, 16 May 2008 14:25:00 +0000 (14:25 +0000)]
fix vprintf bug.

16 years agoadd WSQ
Christos Zoulas [Wed, 14 May 2008 18:18:34 +0000 (18:18 +0000)]
add WSQ

16 years ago- compile with all warnings turned on.
Christos Zoulas [Fri, 9 May 2008 14:20:28 +0000 (14:20 +0000)]
- compile with all warnings turned on.
- don't tack .mgc if the file ends in .mgc

16 years agomove thunk to the right place
Christos Zoulas [Tue, 6 May 2008 11:08:29 +0000 (11:08 +0000)]
move thunk to the right place

16 years agobob's cleanup patches.
Christos Zoulas [Tue, 6 May 2008 11:07:41 +0000 (11:07 +0000)]
bob's cleanup patches.

16 years agofix search
Christos Zoulas [Tue, 29 Apr 2008 01:12:36 +0000 (01:12 +0000)]
fix search

16 years agocheck for <= 0 not just 0
Christos Zoulas [Tue, 29 Apr 2008 01:11:39 +0000 (01:11 +0000)]
check for <= 0 not just 0

16 years agomore debian patches from abelcheung
Christos Zoulas [Fri, 25 Apr 2008 14:58:57 +0000 (14:58 +0000)]
more debian patches from abelcheung

16 years agomore patches from abel cheung
Christos Zoulas [Wed, 23 Apr 2008 19:01:16 +0000 (19:01 +0000)]
more patches from abel cheung

16 years agomore from abel cheung
Christos Zoulas [Wed, 23 Apr 2008 19:00:31 +0000 (19:00 +0000)]
more from abel cheung