Commit Graph

98 Commits

Author SHA1 Message Date
christos
7b1864c5ec fix byte-swapping code. 2006-12-11 22:05:38 +00:00
martin
9013d7c51c Remove a strange #if that broke libmagic for most 64 bit archs.
OK'd by christos.
2006-11-14 14:12:24 +00:00
pooka
1231a9a93e renamed to bflt in upstream
keen-eyed source-changes reader was Jed Davis
2006-11-03 10:10:39 +00:00
dogcow
3429d8a242 Sprinkle llx -> PRIx64 around; fixes compilation on 64 bit platforms. 2006-11-01 00:33:40 +00:00
pooka
91e9593f57 file 4.18 last-minute conflix 2006-10-31 21:50:54 +00:00
pooka
26e338dcb4 readd winzip 2006-10-31 21:47:24 +00:00
pooka
2a4995fe7b this is file 4.18 already, bump patchlevel 2006-10-31 21:39:08 +00:00
pooka
74d6dfb485 errno is in 2 2006-10-31 21:17:15 +00:00
pooka
910040d09f welcome to file 4.18. have a nice day. 2006-10-31 21:16:23 +00:00
pooka
0968f96e37 file 4.18
changes since 4.16: bugfixes, magic improvements, other minor improvements
2006-10-31 20:34:42 +00:00
christos
2933708c6a remove 3d magic. 2006-10-20 15:54:45 +00:00
wiz
d72654d9e5 Fix spacing issue, reported by anonymous. 2006-10-19 20:28:45 +00:00
thorpej
5da5f197c5 Use "unsigned int" rather than "u_int" to be consistent with the rest
of file(1).
2006-08-20 19:49:31 +00:00
christos
f503e58dd8 PR/33723: Arthur Townsend: file command doesn't show 'executable' for
statically linked sun3 exec
2006-06-13 22:20:20 +00:00
christos
f5b7b11e49 Coverity CID 346: Double free. 2006-03-18 04:41:57 +00:00
christos
a7e5a4a743 Coverity CID 347: remove dead code. 2006-03-18 04:39:50 +00:00
pooka
f8ed783b2b some new signatures provided by Sergey Svishchev in private email 2006-02-13 22:57:55 +00:00
grant
999434556e add magic for rzip archives. 2005-12-07 03:20:45 +00:00
christos
090e33a95c reverting to the previous version of file 4.16, not 4.15. 2005-10-21 16:01:16 +00:00
christos
5e183c30fc use strlen properly. 2005-10-17 19:07:43 +00:00
christos
c3f8b2f036 add more void casts. 2005-10-17 18:51:40 +00:00
christos
6af7fa0a20 revert previous 2005-10-17 18:49:54 +00:00
christos
0180aa059f Fix lint issues. 2005-10-17 18:34:47 +00:00
pooka
4a4afdeb8b fix a few signed/unsigned lint warnings 2005-10-17 18:13:04 +00:00
pooka
5c9948c400 fix "emulated" {v,}snprintf to return real values
(which really aren't used on NetBSD at all)
2005-10-17 18:03:01 +00:00
pooka
61f5a53c25 con conflicts into going away 2005-10-17 17:59:59 +00:00
pooka
0c2bfb7f3f file 4.16
Changes since 4.13:
* DragonFly ELF note support
* read buffer dynamically allocated
* Add -h flag and dereference symlinks if POSIXLY_CORRECT
* Avoid search and regex buffer overflows
* cross-compilation fixes
* don't close stdin in the library.
* search for elf notes in shared libraries too.

Now with more magic than ever before!
2005-10-17 17:47:49 +00:00
christos
8e3cd7a471 PR/29682: sigsegv: /usr/bin/file does not seem to understand some fields
of an ELF binary. Someone ate my !
2005-03-25 18:07:09 +00:00
pooka
fcb550ad2b Make building a bit more automatic by borrowing the rest of the
generated auto-payload from the vendor branch.  Now it works.
(and no, this has of course nothing to do with the version 4.*13*,
there are greater powers at play)
2005-02-21 15:25:57 +00:00
pooka
ef5d11d8e1 import python also + nuke one extra linefeed when adding RCSId's 2005-02-21 15:25:56 +00:00
pooka
2fb3e4a058 Make building a bit more automatic by borrowing the rest of the
generated auto-payload from the vendor branch.  Now it works.
(and no, this has of course nothing to do with the version 4.*13*,
there are greater powers at play)
2005-02-21 15:25:56 +00:00
pooka
373a872a16 autoconf-stuff wants the python-dir when building tools/file, so
it's just easier to import this small amount of extra payload than
to attempt a war on autotools.
2005-02-21 15:16:06 +00:00
pooka
5b40621389 conflicts 2005-02-21 15:00:04 +00:00
pooka
dfba91ada0 file 4.13
Just the usual bugfixes and magic additions, nothing major.
2005-02-21 14:32:55 +00:00
pooka
47d5603068 don't build magic and doc in toolbuild => makes build work again 2004-12-14 16:56:56 +00:00
pooka
0127e87a6e regen with AM_MAINTAINER_MODE enabled to get rid of autoconfusion
rebuild mania
2004-12-14 16:08:01 +00:00
pooka
0e5822b090 seems like AM_MAINTAINER_MODE was disabled for this release;
re-enable it to avoid ./configure rebuild hell
2004-12-14 15:56:10 +00:00
pooka
8d312437e8 wage holy war on autoconf to attempt to make the toolbuild work
After receiving the magic 10-line incantation from Christos for
re-building the autoconf stuff, attempt to do so.  This might fix
the problem, or might not.  That is why this stuff is so fun.
2004-12-13 23:57:44 +00:00
pooka
f5200852b4 python has wriggled itself in here, yank it out to make the toolbuild work. 2004-12-13 10:43:39 +00:00
pooka
ebbb05cb75 munge conflicts 2004-12-13 10:35:03 +00:00
pooka
16e0e52b61 file 4.12
+ assorted bug fixes
+ switch to 2-clause license
2004-12-13 10:24:25 +00:00
christos
98d928d598 Apply a patch from the head of file for a printf argument mis-match. 2004-11-13 10:18:50 +00:00
pooka
d22e9f2216 conflict therapy 2004-09-16 13:49:07 +00:00
pooka
1eb570c83b file 4.10
minor fixes and improvements
2004-09-16 13:43:21 +00:00
ross
4f01003841 Order some include conditionals to match code conditionals.
From Ian Taylor.
Posted to tech-toolchain.
2004-05-21 21:18:57 +00:00
pooka
d6085ff385 Remove wchar build kludges for FreeBSD<5 and NetBSD<1.6. The wchar
stuff is properly handled by configure now.
2004-04-19 13:55:53 +00:00
grant
144cb3e439 recognize data files created by Perl Storable module, from the output
of Storable::show_file_magic().
2004-04-10 08:58:02 +00:00
pooka
b6a1a17518 Apply patch from Christos to fix build on FreeBSD 4 2004-04-08 12:33:20 +00:00
pooka
34a84c1d28 update for 4.09 2004-04-08 12:30:24 +00:00
pooka
0fa4e65c16 the conflict peril was no more 2004-04-08 12:29:45 +00:00