]> granicus.if.org Git - file/log
file
19 years agoMan page additions from =?utf-8?q?J=C3=B6rg_Walter?= <jwalt@garni.ch>
Christos Zoulas [Thu, 17 Mar 2005 17:34:15 +0000 (17:34 +0000)]
Man page additions from =?utf-8?q?J=C3=B6rg_Walter?= <jwalt@garni.ch>

19 years agomention time change.
Christos Zoulas [Thu, 17 Mar 2005 05:00:19 +0000 (05:00 +0000)]
mention time change.

19 years agocheck gmtime and localtime() for NULL. Apparently windows returns NULL
Christos Zoulas [Mon, 14 Mar 2005 16:56:24 +0000 (16:56 +0000)]
check gmtime and localtime() for NULL. Apparently windows returns NULL
for time 0x80000000 (or with the high bit set).

19 years agoRemove ### error marks.
Christos Zoulas [Wed, 9 Mar 2005 19:00:17 +0000 (19:00 +0000)]
Remove ### error marks.

19 years agoAdd indirect magic offset support and search support.
Christos Zoulas [Sun, 6 Mar 2005 05:58:20 +0000 (05:58 +0000)]
Add indirect magic offset support and search support.

19 years agoAdded linux-64 2.4 offset.
Christos Zoulas [Wed, 9 Feb 2005 20:29:13 +0000 (20:29 +0000)]
Added linux-64 2.4 offset.

19 years agoReconfigure
Christos Zoulas [Wed, 9 Feb 2005 19:34:21 +0000 (19:34 +0000)]
Reconfigure

19 years agoReady for 4.13 FILE4_13
Christos Zoulas [Wed, 9 Feb 2005 19:25:38 +0000 (19:25 +0000)]
Ready for 4.13

19 years agoWelcome to 4.13
Christos Zoulas [Wed, 9 Feb 2005 19:25:13 +0000 (19:25 +0000)]
Welcome to 4.13

19 years agoDocument $HOME/.magic
Christos Zoulas [Wed, 9 Feb 2005 19:07:30 +0000 (19:07 +0000)]
Document $HOME/.magic

19 years agoAdd OpenEXR format
Ian Darwin [Tue, 1 Feb 2005 00:43:32 +0000 (00:43 +0000)]
Add OpenEXR format

20 years agoComment out the filename portion; it is not always there.
Christos Zoulas [Wed, 19 Jan 2005 17:56:21 +0000 (17:56 +0000)]
Comment out the filename portion; it is not always there.

20 years agoFix bzip2 issue
Christos Zoulas [Fri, 7 Jan 2005 19:17:24 +0000 (19:17 +0000)]
Fix bzip2 issue

20 years agoremove bogus comment and code about nul terminated buf.
Christos Zoulas [Mon, 20 Dec 2004 19:48:59 +0000 (19:48 +0000)]
remove bogus comment and code about nul terminated buf.

20 years agoEnable AM_MAINTAINER_MODE so that we don't re-build everything if the
Christos Zoulas [Tue, 14 Dec 2004 16:30:20 +0000 (16:30 +0000)]
Enable AM_MAINTAINER_MODE so that we don't re-build everything if the
timestamps don't match.

20 years agoFlush stdout and stderr before forking.
Christos Zoulas [Mon, 13 Dec 2004 20:20:48 +0000 (20:20 +0000)]
Flush stdout and stderr before forking.

20 years agoThis should not be here.
Christos Zoulas [Wed, 24 Nov 2004 19:26:30 +0000 (19:26 +0000)]
This should not be here.

20 years agoReach over into python FILE4_12
Christos Zoulas [Wed, 24 Nov 2004 19:19:14 +0000 (19:19 +0000)]
Reach over into python

20 years agoEmpty file
Christos Zoulas [Wed, 24 Nov 2004 18:59:07 +0000 (18:59 +0000)]
Empty file

20 years agoRe-do the autoconf stuff once more; passes make dist now.
Christos Zoulas [Wed, 24 Nov 2004 18:57:43 +0000 (18:57 +0000)]
Re-do the autoconf stuff once more; passes make dist now.

20 years agoStrip the output path when we compile.
Christos Zoulas [Wed, 24 Nov 2004 18:56:04 +0000 (18:56 +0000)]
Strip the output path when we compile.

20 years agoFixes from Jakub Bogusz <qboosh@pld-linux.org>, stack overwrite, elf overread.
Christos Zoulas [Wed, 24 Nov 2004 17:38:24 +0000 (17:38 +0000)]
Fixes from  Jakub Bogusz <qboosh@pld-linux.org>, stack overwrite, elf overread.

20 years agoNew magic.
Christos Zoulas [Wed, 24 Nov 2004 17:34:33 +0000 (17:34 +0000)]
New magic.

20 years agoMore modern utils. FILE4_11
Christos Zoulas [Sun, 21 Nov 2004 22:25:11 +0000 (22:25 +0000)]
More modern utils.

20 years agoFix thinko.
Christos Zoulas [Sun, 21 Nov 2004 06:09:43 +0000 (06:09 +0000)]
Fix thinko.

20 years agoready for 4.11
Christos Zoulas [Sun, 21 Nov 2004 05:52:02 +0000 (05:52 +0000)]
ready for 4.11

20 years agoMore magic
Christos Zoulas [Sun, 21 Nov 2004 05:20:30 +0000 (05:20 +0000)]
More magic

20 years agoAdd support for hackish ucs16 strings.
Christos Zoulas [Sat, 20 Nov 2004 23:50:12 +0000 (23:50 +0000)]
Add support for hackish ucs16 strings.

20 years agoCommit previous fixes.
Christos Zoulas [Sat, 20 Nov 2004 22:18:41 +0000 (22:18 +0000)]
Commit previous fixes.

20 years agoAdd missing printf arg.
Christos Zoulas [Sat, 13 Nov 2004 10:19:48 +0000 (10:19 +0000)]
Add missing printf arg.

20 years agoPrint the filename and linenumber on syntax errors.
Christos Zoulas [Sat, 13 Nov 2004 08:11:39 +0000 (08:11 +0000)]
Print the filename and linenumber on syntax errors.

20 years agosimplify the logic
Christos Zoulas [Sat, 13 Nov 2004 08:11:12 +0000 (08:11 +0000)]
simplify the logic

20 years agoFix stack overwrire on 0 length strings.
Christos Zoulas [Tue, 12 Oct 2004 14:55:09 +0000 (14:55 +0000)]
Fix stack overwrire on 0 length strings.

20 years agofix memory leaks.
Christos Zoulas [Mon, 27 Sep 2004 15:28:37 +0000 (15:28 +0000)]
fix memory leaks.

20 years agoRemove advertising clauses, with Ian's permission.
Christos Zoulas [Sat, 11 Sep 2004 19:15:56 +0000 (19:15 +0000)]
Remove advertising clauses, with Ian's permission.

20 years agoregen for 4.10 FILE4_10
Christos Zoulas [Sat, 24 Jul 2004 21:01:44 +0000 (21:01 +0000)]
regen for 4.10

20 years agodon't disable zlib anymore; I think the security issues were fixed long ago.
Christos Zoulas [Sat, 24 Jul 2004 21:00:56 +0000 (21:00 +0000)]
don't disable zlib anymore; I think the security issues were fixed long ago.

20 years agowe don't just read the header size, but the whole note too; so revert the
Christos Zoulas [Sat, 24 Jul 2004 20:57:22 +0000 (20:57 +0000)]
we don't just read the header size, but the whole note too; so revert the
previous buffer fix.

20 years agowelcome to 4.10
Christos Zoulas [Sat, 24 Jul 2004 20:40:46 +0000 (20:40 +0000)]
welcome to 4.10

20 years agomore magic fixes.
Christos Zoulas [Sat, 24 Jul 2004 20:38:54 +0000 (20:38 +0000)]
more magic fixes.

20 years agobetter detection of utime/utimes from ian@wasabisystems.com
Christos Zoulas [Sat, 24 Jul 2004 19:55:17 +0000 (19:55 +0000)]
better detection of utime/utimes from ian@wasabisystems.com

20 years agoFrom: Jakub Bogusz <qboosh@pld-linux.org>
Christos Zoulas [Sat, 24 Jul 2004 19:23:22 +0000 (19:23 +0000)]
From: Jakub Bogusz <qboosh@pld-linux.org>

I found some bugs in readelf code, up to version 4.09 of file, all
related to PT_NOTE analysis. I made some changes, which seems to work
fine (especially on 64-bit Linux platforms, where file used to abort on
some Elf64 files).

List of problems and changes (in the included patch) follows:

- it tried to always read sizeof(nbuf) (8kB or so) even when NOTE
  section size was smaller; and then it tried to parse (well, almost,
  see below) whole data read to buffer (less than sizeof(nbuf) only
  in case of EOF).
  I added reading section size from p_filesz field and using it to
  limit the number of bytes to read and parse afterwards.

- dophn_exec() used wrong offset to restore file position PT_NOTE
  analysis; it should be just savedoffset, not savedoffset+offset
  (offset is the size of parsed data from NOTE, not program header).

- there were wrong conditions when checking note header offset, not
  allowing to parse whole buffer passed to donote().
  (detected when after applying the first change)

20 years agomake COMPILE_ONLY work again.
Christos Zoulas [Fri, 4 Jun 2004 14:40:19 +0000 (14:40 +0000)]
make COMPILE_ONLY work again.

20 years agomention recent changes
Christos Zoulas [Wed, 12 May 2004 14:54:16 +0000 (14:54 +0000)]
mention recent changes

20 years agoAdd a check_format function to make sure that printf formats in magic
Christos Zoulas [Wed, 12 May 2004 14:53:01 +0000 (14:53 +0000)]
Add a check_format function to make sure that printf formats in magic
files make sense.

20 years agofix printf format strings.
Christos Zoulas [Wed, 12 May 2004 14:51:58 +0000 (14:51 +0000)]
fix printf format strings.

20 years ago%s needs strings not longs.
Christos Zoulas [Wed, 12 May 2004 14:09:15 +0000 (14:09 +0000)]
%s needs strings not longs.

20 years agofix srcdir.
Christos Zoulas [Wed, 28 Apr 2004 12:19:55 +0000 (12:19 +0000)]
fix srcdir.

20 years agoRegen.
Christos Zoulas [Wed, 7 Apr 2004 14:30:01 +0000 (14:30 +0000)]
Regen.

20 years agoAdd more conditional defines
Christos Zoulas [Wed, 7 Apr 2004 14:23:55 +0000 (14:23 +0000)]
Add more conditional defines

20 years agoadd wide char functions we use
Christos Zoulas [Wed, 7 Apr 2004 14:22:53 +0000 (14:22 +0000)]
add wide char functions we use

20 years agoupdate the ChangeLog FILE4_09
Christos Zoulas [Wed, 7 Apr 2004 00:37:33 +0000 (00:37 +0000)]
update the ChangeLog

20 years agowelcome to 4.09
Christos Zoulas [Wed, 7 Apr 2004 00:32:25 +0000 (00:32 +0000)]
welcome to 4.09

20 years agoregenerate
Christos Zoulas [Wed, 7 Apr 2004 00:29:48 +0000 (00:29 +0000)]
regenerate

20 years agomore magic
Christos Zoulas [Wed, 7 Apr 2004 00:21:57 +0000 (00:21 +0000)]
more magic

20 years agoSupport for mbstate_t autoconf.
Christos Zoulas [Tue, 6 Apr 2004 15:18:19 +0000 (15:18 +0000)]
Support for mbstate_t autoconf.

20 years agostylistic nits from pooka. use S_ISREG and count writable if it is writable
Christos Zoulas [Tue, 23 Mar 2004 15:33:43 +0000 (15:33 +0000)]
stylistic nits from pooka. use S_ISREG and count writable if it is writable
by anyone like we do in the executable case.

20 years agoToo general. FILE4_08
Christos Zoulas [Mon, 22 Mar 2004 21:36:35 +0000 (21:36 +0000)]
Too general.

20 years agotypo in wchar_t
Christos Zoulas [Mon, 22 Mar 2004 21:34:39 +0000 (21:34 +0000)]
typo in wchar_t

20 years agowelcome to 4.08.
Christos Zoulas [Mon, 22 Mar 2004 21:17:10 +0000 (21:17 +0000)]
welcome to 4.08.

20 years agobump to 4.08
Christos Zoulas [Mon, 22 Mar 2004 21:15:45 +0000 (21:15 +0000)]
bump to 4.08

20 years agokill some short magic.
Christos Zoulas [Mon, 22 Mar 2004 21:15:04 +0000 (21:15 +0000)]
kill some short magic.

20 years agoIt all compiles now.
Christos Zoulas [Mon, 22 Mar 2004 20:37:11 +0000 (20:37 +0000)]
It all compiles now.

20 years agoget into shape for compiling.
Christos Zoulas [Mon, 22 Mar 2004 20:28:40 +0000 (20:28 +0000)]
get into shape for compiling.

20 years agoMore magic
Christos Zoulas [Mon, 22 Mar 2004 20:24:47 +0000 (20:24 +0000)]
More magic

20 years agoDebian changes.
Christos Zoulas [Mon, 22 Mar 2004 20:03:21 +0000 (20:03 +0000)]
Debian changes.

20 years agoUpdated tests.
Christos Zoulas [Mon, 22 Mar 2004 19:13:32 +0000 (19:13 +0000)]
Updated tests.

20 years agoDon't return early, always cleanup [from me]
Christos Zoulas [Mon, 22 Mar 2004 19:12:51 +0000 (19:12 +0000)]
Don't return early, always cleanup [from me]
Better diagnostics from unreadable files [debian]

20 years agowide char strlen support. from debian
Christos Zoulas [Mon, 22 Mar 2004 19:12:15 +0000 (19:12 +0000)]
wide char strlen support. from debian

20 years agodouble fork to avoid blocking. from debian. I will redo this someday.
Christos Zoulas [Mon, 22 Mar 2004 19:11:54 +0000 (19:11 +0000)]
double fork to avoid blocking. from debian. I will redo this someday.

20 years agoPO gettext support from debian
Christos Zoulas [Mon, 22 Mar 2004 19:09:12 +0000 (19:09 +0000)]
PO gettext support from debian

20 years agomore defensive infinite loop detection
Christos Zoulas [Mon, 22 Mar 2004 19:08:53 +0000 (19:08 +0000)]
more defensive infinite loop detection

20 years agoCompensate for missing MAXPATHLEN
Christos Zoulas [Mon, 22 Mar 2004 18:48:56 +0000 (18:48 +0000)]
Compensate for missing MAXPATHLEN

20 years agoAvoid infinite loops caused by bad elf alignments of name and description
Christos Zoulas [Mon, 22 Mar 2004 18:44:01 +0000 (18:44 +0000)]
Avoid infinite loops caused by bad elf alignments of name and description
sizes. Mikael Magnusson <mmikael@comhem.se>

20 years agoMention fix in the changelog.
Christos Zoulas [Tue, 9 Mar 2004 18:53:27 +0000 (18:53 +0000)]
Mention fix in the changelog.

20 years agoFix possible memory leak on error Dmitry V. Levin" <ldv@altlinux.org>
Christos Zoulas [Tue, 9 Mar 2004 18:52:08 +0000 (18:52 +0000)]
Fix possible memory leak on error Dmitry V. Levin" <ldv@altlinux.org>

20 years agoadd missing regfree() from Dmitry V. Levin" <ldv@altlinux.org>
Christos Zoulas [Tue, 9 Mar 2004 18:49:58 +0000 (18:49 +0000)]
add missing regfree() from Dmitry V. Levin" <ldv@altlinux.org>

20 years agocheck for file too small before dereferencing a pointer
Christos Zoulas [Sun, 7 Mar 2004 16:16:14 +0000 (16:16 +0000)]
check for file too small before dereferencing a pointer

20 years agodon't support getopt_long if we don't have <getopt.h>
Christos Zoulas [Wed, 3 Mar 2004 17:24:28 +0000 (17:24 +0000)]
don't support getopt_long if we don't have <getopt.h>

20 years agodisable help messages if we don't have getopt_long
Christos Zoulas [Wed, 3 Mar 2004 17:21:05 +0000 (17:21 +0000)]
disable help messages if we don't have getopt_long

21 years agoOff by one in the continuation flushing part.
Christos Zoulas [Wed, 31 Dec 2003 18:36:22 +0000 (18:36 +0000)]
Off by one in the continuation flushing part.

21 years agoRegen. FILE4_07
Christos Zoulas [Tue, 23 Dec 2003 17:38:09 +0000 (17:38 +0000)]
Regen.

21 years agoWelcome to 4.07
Christos Zoulas [Tue, 23 Dec 2003 17:34:31 +0000 (17:34 +0000)]
Welcome to 4.07

21 years ago4.07
Christos Zoulas [Tue, 23 Dec 2003 17:34:04 +0000 (17:34 +0000)]
4.07

21 years agovoid casts
Christos Zoulas [Tue, 23 Dec 2003 17:33:38 +0000 (17:33 +0000)]
void casts

21 years agomakefile as LDADD
Christos Zoulas [Tue, 23 Dec 2003 17:33:21 +0000 (17:33 +0000)]
makefile as LDADD

21 years agofix -k flag
Christos Zoulas [Tue, 23 Dec 2003 17:32:41 +0000 (17:32 +0000)]
fix -k flag

21 years agofix off by one.
Christos Zoulas [Tue, 23 Dec 2003 17:32:30 +0000 (17:32 +0000)]
fix off by one.

21 years agodisable; magic too short.
Christos Zoulas [Thu, 18 Dec 2003 13:21:41 +0000 (13:21 +0000)]
disable; magic too short.

21 years agocast ctype calls to unsigned char
Christos Zoulas [Thu, 20 Nov 2003 00:25:39 +0000 (00:25 +0000)]
cast ctype calls to unsigned char

21 years agofix spaces
Christos Zoulas [Tue, 18 Nov 2003 19:43:46 +0000 (19:43 +0000)]
fix spaces

21 years agoCorrupt elf files is not fatal. Willy Tarreau <willy@w.ods.org>
Christos Zoulas [Tue, 18 Nov 2003 19:42:33 +0000 (19:42 +0000)]
Corrupt elf files is not fatal. Willy Tarreau <willy@w.ods.org>

21 years agoNew magic
Christos Zoulas [Tue, 18 Nov 2003 19:35:54 +0000 (19:35 +0000)]
New magic

21 years agoPython magic with updated license from Brett Funderburg
Christos Zoulas [Tue, 18 Nov 2003 18:55:09 +0000 (18:55 +0000)]
Python magic with updated license from Brett Funderburg

21 years agoAdd entry for large file.
Christos Zoulas [Tue, 11 Nov 2003 20:03:41 +0000 (20:03 +0000)]
Add entry for large file.

21 years agoInclude "file.h" first because it includes "config.h" and this needs to
Christos Zoulas [Tue, 11 Nov 2003 20:01:45 +0000 (20:01 +0000)]
Include "file.h" first because it includes "config.h" and this needs to
come first.

21 years agoRemove unused variables.
Christos Zoulas [Mon, 27 Oct 2003 18:09:41 +0000 (18:09 +0000)]
Remove unused variables.

21 years agominor nits from NetBSD
Christos Zoulas [Mon, 27 Oct 2003 18:09:08 +0000 (18:09 +0000)]
minor nits from NetBSD

21 years agofree(mfn);
Christos Zoulas [Thu, 16 Oct 2003 19:26:57 +0000 (19:26 +0000)]
free(mfn);

21 years agoComment out hfs
Christos Zoulas [Thu, 16 Oct 2003 16:53:42 +0000 (16:53 +0000)]
Comment out hfs