Commit Graph

86 Commits

Author SHA1 Message Date
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
pooka 5b7d7b4cbc file 4.09:
* (almost) fix toolbuild on platforms with a lacking wchar
* more magic
2004-04-08 12:21:54 +00:00
pooka 194e44db4c Put some more wchar bandaid here for NetBSD 1.5
XXX: need to get a pullup for this when it's properly fixed
2004-03-30 10:12:33 +00:00
salo 83a553e89b Fix build on FreeBSD < 5.0.
From Alexander Yurchenko via netbsd-bugs.

Approved by pooka@, "I'll bug Christos to get it really fixed some day."
2004-03-25 15:00:24 +00:00
pooka c40b96229f Breate some band-aid here: for some reason new autoconf wants to use
$(mkdir_p) which isn't defined anywhere.  So replace it with good ol'
$(mkinstalldirs) to fix problem with tools installation.
XXX: need to revisit this to discover true lossage.

Problem noted by Nick Hudson.
2004-03-23 15:49:53 +00:00
pooka 2665065f87 * be consistent in writable/executable probing
* use stat info properly when checking for regular file
2004-03-23 08:58:47 +00:00
pooka ae16b8b42b update for 4.08 2004-03-23 08:40:36 +00:00
pooka dab8aad33e conflicts begone 2004-03-23 08:40:11 +00:00
pooka e3a02bec05 file 4.08: bugfixes 'n more magic 'n stuff 2004-03-23 08:31:19 +00:00
matt 12836072a9 <sys/cdefs.h> is a NetBSD'ism. Protect it with #ifdef __NetBSD__ 2003-11-12 02:08:11 +00:00
pooka e90962a630 adapt for file 4.06 2003-10-27 16:31:46 +00:00
pooka df6e9611e8 make unused variable also unpresent 2003-10-27 16:26:51 +00:00
pooka 9f8bb67276 nuke empty line 2003-10-27 16:24:51 +00:00