]>
granicus.if.org Git - file/log
Christos Zoulas [Mon, 17 Oct 2005 15:35:00 +0000 (15:35 +0000)]
new magic updates.
Christos Zoulas [Mon, 17 Oct 2005 15:31:10 +0000 (15:31 +0000)]
Support for O_BINARY
Christos Zoulas [Mon, 17 Oct 2005 15:14:44 +0000 (15:14 +0000)]
move a compat fallback for stdin fileno earlier. both this and the previous
fix are from: Arkadiusz Miskiewicz <arekm@pld-linux.org>
Christos Zoulas [Mon, 17 Oct 2005 15:13:31 +0000 (15:13 +0000)]
don't try to close stdin.
Christos Zoulas [Sun, 16 Oct 2005 07:37:13 +0000 (07:37 +0000)]
Look in section header note sections for OS specific notes.
Christos Zoulas [Wed, 12 Oct 2005 19:29:42 +0000 (19:29 +0000)]
use the constant arrays from the header install of hand-rolling them.
Christos Zoulas [Sat, 8 Oct 2005 01:21:11 +0000 (01:21 +0000)]
Delete junk entry; bug reported from: Mike Frysinger <vapier@gentoo.org>
Christos Zoulas [Tue, 20 Sep 2005 17:34:30 +0000 (17:34 +0000)]
Add a flag to prevent core style info from printing twice.
Radek Vokál<rvokal@redhat.com>
Christos Zoulas [Sat, 10 Sep 2005 18:10:15 +0000 (18:10 +0000)]
comment out the \032 risk magic. It is too short.
Christos Zoulas [Sat, 27 Aug 2005 08:12:19 +0000 (08:12 +0000)]
Cygwin patches from Corinna
Christos Zoulas [Thu, 18 Aug 2005 15:52:54 +0000 (15:52 +0000)]
welcome to 5.15
Christos Zoulas [Thu, 18 Aug 2005 15:21:26 +0000 (15:21 +0000)]
Remove bogus magic file
Christos Zoulas [Thu, 18 Aug 2005 15:18:22 +0000 (15:18 +0000)]
Magic changes and cross-compile support.
Christos Zoulas [Fri, 12 Aug 2005 14:19:33 +0000 (14:19 +0000)]
Add -h support for POSIX.
Ian Darwin [Thu, 4 Aug 2005 20:01:06 +0000 (20:01 +0000)]
Remove duplicate; info now in images
Christos Zoulas [Fri, 29 Jul 2005 18:00:32 +0000 (18:00 +0000)]
Mention buffer fix.
Christos Zoulas [Fri, 29 Jul 2005 17:57:20 +0000 (17:57 +0000)]
Deal with search and the allocated buffer sanely.
Christos Zoulas [Thu, 14 Jul 2005 02:22:25 +0000 (02:22 +0000)]
add FreeBSD 64 bit elf offsets. From Peter Wemm.
Christos Zoulas [Tue, 12 Jul 2005 20:05:37 +0000 (20:05 +0000)]
add {v,}snprintf
redo mbstate_t.
Christos Zoulas [Thu, 30 Jun 2005 16:33:47 +0000 (16:33 +0000)]
Not everyone has a C99 compiler.
Christos Zoulas [Sat, 25 Jun 2005 16:02:42 +0000 (16:02 +0000)]
Add mup magic.
Christos Zoulas [Sat, 25 Jun 2005 15:59:49 +0000 (15:59 +0000)]
regen libtool stuff.
Christos Zoulas [Sat, 25 Jun 2005 15:52:13 +0000 (15:52 +0000)]
Welcome to 4.14
Christos Zoulas [Sat, 25 Jun 2005 14:58:38 +0000 (14:58 +0000)]
Handle mach
Christos Zoulas [Wed, 22 Jun 2005 21:42:48 +0000 (21:42 +0000)]
Alias does not want to be called Wavefront anymore.
Christos Zoulas [Fri, 25 Mar 2005 18:03:18 +0000 (18:03 +0000)]
Fix reversed logic in byte-swapping code.
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>
Christos Zoulas [Thu, 17 Mar 2005 05:00:19 +0000 (05:00 +0000)]
mention time change.
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).
Christos Zoulas [Wed, 9 Mar 2005 19:00:17 +0000 (19:00 +0000)]
Remove ### error marks.
Christos Zoulas [Sun, 6 Mar 2005 05:58:20 +0000 (05:58 +0000)]
Add indirect magic offset support and search support.
Christos Zoulas [Wed, 9 Feb 2005 20:29:13 +0000 (20:29 +0000)]
Added linux-64 2.4 offset.
Christos Zoulas [Wed, 9 Feb 2005 19:34:21 +0000 (19:34 +0000)]
Reconfigure
Christos Zoulas [Wed, 9 Feb 2005 19:25:38 +0000 (19:25 +0000)]
Ready for 4.13
Christos Zoulas [Wed, 9 Feb 2005 19:25:13 +0000 (19:25 +0000)]
Welcome to 4.13
Christos Zoulas [Wed, 9 Feb 2005 19:07:30 +0000 (19:07 +0000)]
Document $HOME/.magic
Ian Darwin [Tue, 1 Feb 2005 00:43:32 +0000 (00:43 +0000)]
Add OpenEXR format
Christos Zoulas [Wed, 19 Jan 2005 17:56:21 +0000 (17:56 +0000)]
Comment out the filename portion; it is not always there.
Christos Zoulas [Fri, 7 Jan 2005 19:17:24 +0000 (19:17 +0000)]
Fix bzip2 issue
Christos Zoulas [Mon, 20 Dec 2004 19:48:59 +0000 (19:48 +0000)]
remove bogus comment and code about nul terminated buf.
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.
Christos Zoulas [Mon, 13 Dec 2004 20:20:48 +0000 (20:20 +0000)]
Flush stdout and stderr before forking.
Christos Zoulas [Wed, 24 Nov 2004 19:26:30 +0000 (19:26 +0000)]
This should not be here.
Christos Zoulas [Wed, 24 Nov 2004 19:19:14 +0000 (19:19 +0000)]
Reach over into python
Christos Zoulas [Wed, 24 Nov 2004 18:59:07 +0000 (18:59 +0000)]
Empty file
Christos Zoulas [Wed, 24 Nov 2004 18:57:43 +0000 (18:57 +0000)]
Re-do the autoconf stuff once more; passes make dist now.
Christos Zoulas [Wed, 24 Nov 2004 18:56:04 +0000 (18:56 +0000)]
Strip the output path when we compile.
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.
Christos Zoulas [Wed, 24 Nov 2004 17:34:33 +0000 (17:34 +0000)]
New magic.
Christos Zoulas [Sun, 21 Nov 2004 22:25:11 +0000 (22:25 +0000)]
More modern utils.
Christos Zoulas [Sun, 21 Nov 2004 06:09:43 +0000 (06:09 +0000)]
Fix thinko.
Christos Zoulas [Sun, 21 Nov 2004 05:52:02 +0000 (05:52 +0000)]
ready for 4.11
Christos Zoulas [Sun, 21 Nov 2004 05:20:30 +0000 (05:20 +0000)]
More magic
Christos Zoulas [Sat, 20 Nov 2004 23:50:12 +0000 (23:50 +0000)]
Add support for hackish ucs16 strings.
Christos Zoulas [Sat, 20 Nov 2004 22:18:41 +0000 (22:18 +0000)]
Commit previous fixes.
Christos Zoulas [Sat, 13 Nov 2004 10:19:48 +0000 (10:19 +0000)]
Add missing printf arg.
Christos Zoulas [Sat, 13 Nov 2004 08:11:39 +0000 (08:11 +0000)]
Print the filename and linenumber on syntax errors.
Christos Zoulas [Sat, 13 Nov 2004 08:11:12 +0000 (08:11 +0000)]
simplify the logic
Christos Zoulas [Tue, 12 Oct 2004 14:55:09 +0000 (14:55 +0000)]
Fix stack overwrire on 0 length strings.
Christos Zoulas [Mon, 27 Sep 2004 15:28:37 +0000 (15:28 +0000)]
fix memory leaks.
Christos Zoulas [Sat, 11 Sep 2004 19:15:56 +0000 (19:15 +0000)]
Remove advertising clauses, with Ian's permission.
Christos Zoulas [Sat, 24 Jul 2004 21:01:44 +0000 (21:01 +0000)]
regen for 4.10
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.
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.
Christos Zoulas [Sat, 24 Jul 2004 20:40:46 +0000 (20:40 +0000)]
welcome to 4.10
Christos Zoulas [Sat, 24 Jul 2004 20:38:54 +0000 (20:38 +0000)]
more magic fixes.
Christos Zoulas [Sat, 24 Jul 2004 19:55:17 +0000 (19:55 +0000)]
better detection of utime/utimes from ian@wasabisystems.com
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)
Christos Zoulas [Fri, 4 Jun 2004 14:40:19 +0000 (14:40 +0000)]
make COMPILE_ONLY work again.
Christos Zoulas [Wed, 12 May 2004 14:54:16 +0000 (14:54 +0000)]
mention recent changes
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.
Christos Zoulas [Wed, 12 May 2004 14:51:58 +0000 (14:51 +0000)]
fix printf format strings.
Christos Zoulas [Wed, 12 May 2004 14:09:15 +0000 (14:09 +0000)]
%s needs strings not longs.
Christos Zoulas [Wed, 28 Apr 2004 12:19:55 +0000 (12:19 +0000)]
fix srcdir.
Christos Zoulas [Wed, 7 Apr 2004 14:30:01 +0000 (14:30 +0000)]
Regen.
Christos Zoulas [Wed, 7 Apr 2004 14:23:55 +0000 (14:23 +0000)]
Add more conditional defines
Christos Zoulas [Wed, 7 Apr 2004 14:22:53 +0000 (14:22 +0000)]
add wide char functions we use
Christos Zoulas [Wed, 7 Apr 2004 00:37:33 +0000 (00:37 +0000)]
update the ChangeLog
Christos Zoulas [Wed, 7 Apr 2004 00:32:25 +0000 (00:32 +0000)]
welcome to 4.09
Christos Zoulas [Wed, 7 Apr 2004 00:29:48 +0000 (00:29 +0000)]
regenerate
Christos Zoulas [Wed, 7 Apr 2004 00:21:57 +0000 (00:21 +0000)]
more magic
Christos Zoulas [Tue, 6 Apr 2004 15:18:19 +0000 (15:18 +0000)]
Support for mbstate_t autoconf.
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.
Christos Zoulas [Mon, 22 Mar 2004 21:36:35 +0000 (21:36 +0000)]
Too general.
Christos Zoulas [Mon, 22 Mar 2004 21:34:39 +0000 (21:34 +0000)]
typo in wchar_t
Christos Zoulas [Mon, 22 Mar 2004 21:17:10 +0000 (21:17 +0000)]
welcome to 4.08.
Christos Zoulas [Mon, 22 Mar 2004 21:15:45 +0000 (21:15 +0000)]
bump to 4.08
Christos Zoulas [Mon, 22 Mar 2004 21:15:04 +0000 (21:15 +0000)]
kill some short magic.
Christos Zoulas [Mon, 22 Mar 2004 20:37:11 +0000 (20:37 +0000)]
It all compiles now.
Christos Zoulas [Mon, 22 Mar 2004 20:28:40 +0000 (20:28 +0000)]
get into shape for compiling.
Christos Zoulas [Mon, 22 Mar 2004 20:24:47 +0000 (20:24 +0000)]
More magic
Christos Zoulas [Mon, 22 Mar 2004 20:03:21 +0000 (20:03 +0000)]
Debian changes.
Christos Zoulas [Mon, 22 Mar 2004 19:13:32 +0000 (19:13 +0000)]
Updated tests.
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]
Christos Zoulas [Mon, 22 Mar 2004 19:12:15 +0000 (19:12 +0000)]
wide char strlen support. from debian
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.
Christos Zoulas [Mon, 22 Mar 2004 19:09:12 +0000 (19:09 +0000)]
PO gettext support from debian
Christos Zoulas [Mon, 22 Mar 2004 19:08:53 +0000 (19:08 +0000)]
more defensive infinite loop detection
Christos Zoulas [Mon, 22 Mar 2004 18:48:56 +0000 (18:48 +0000)]
Compensate for missing MAXPATHLEN
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>