Commit Graph

130 Commits

Author SHA1 Message Date
mrg 8cf404da0f add a NetBSD_DISABLED_* target for config.h.in. 2009-04-19 10:22:10 +00:00
joerg 9a62852c21 Specify width for tag list. 2009-03-15 15:16:58 +00:00
christos ba6a866c95 semi-colon before charset. From Anon Ymous 2009-03-11 01:08:23 +00:00
apb 55a5451b03 #include <sys/param.h>, in case it defined MIN and MAX. (Later in this
file, we conditionally define MIN and MAX.)

Including sys/param.h unconditionally like this seems unportable (in
view of the fact that file is built as a host tool), but other parts of
the file sources already include sys/param.h, so this change doesn't
make it worse.

This might fix PR 40539 from Brad Parker.
2009-03-06 19:42:54 +00:00
kenh 83e1006d39 Revert back to previous version 2009-02-27 03:01:57 +00:00
kenh 05970a1d19 This didn't change ... what's the deal? 2009-02-27 02:59:11 +00:00
sketch 1e56a266d4 regen. 2009-02-24 22:27:02 +00:00
sketch 7ce9d1c8ea Make 'build.sh tools' work with the Sun Studio compiler, although bugs in
some of the generated tools still prevent building a full release using them.
2009-02-24 22:25:24 +00:00
hubertf 95d4c42d15 Pull in a minor change from file-4.26 that gets cross-compiling from
Solaris going.

OK'd by christos@
2008-11-04 13:34:11 +00:00
tsutsui 4c08651b76 Put a workaround for PR toolchain/39528:
Adjust a definition of MKDIR_P to invoke $ac_install_sh script
via $(SHELL) so that it will work even if executable bits are not
preserved in the source archives.

No objection on tech-toolchain.
2008-10-12 02:56:23 +00:00
christos 85ff5d2957 remove conflict. 2008-08-31 07:54:07 +00:00
christos 97a2ff3736 misc cleanups 2008-08-31 07:53:33 +00:00
christos 3f1ec0f434 fix printf format. 2008-08-31 04:51:20 +00:00
christos fed53d5170 fix lp64 build. 2008-08-30 17:49:43 +00:00
christos 0bb40d37ac add this back 2008-08-30 12:18:55 +00:00
christos 04eef3cfd2 resolve conflicts, fix build. 2008-08-30 12:16:51 +00:00
christos 04d459813f resolve conflicts 2008-08-30 11:39:01 +00:00
christos 8bb07b3f43 try-again for file-4.26 2008-08-30 11:20:52 +00:00
christos 85e225d6b9 mport 4.26 2008-08-30 11:00:02 +00:00
wiz 9f2c3be631 Recognize CISO (.cso) files. 2008-08-18 22:04:47 +00:00
martin 11a6dbe728 Convert TNF licenses to new 2 clause variant 2008-04-30 13:10:46 +00:00
apb 436bad5beb Rewrite the code that tried to canonicalise a path. Fixes a problem
in which "/wherever/src.2/../tools" was incorrectly changed to
"/wherever/src./tools" instead of the desired "/wherever/tools".

It's not clear to me that this script has any business trying to do this
sort of rewriting (and there's no guarantee that "/wherever/foo/.." and
"/wherever" both refer to the same place), but at least the new code
tries to be more careful than the old code.
2008-04-20 12:57:40 +00:00
ragge a24df7ca50 Include sys/param.h before file.h, to avoid redefinition of MIN. 2008-03-29 09:40:41 +00:00
pooka 86146f9e2e put LP64 SIZE_T_MAX on a diet: 17 f's is too much, trim it down to 16 2007-06-14 19:26:17 +00:00
pooka 549f6b16d1 Make this match the distributing by removing some extra goo that was
added a few years back when battling AM_MAINTAINER_MODE and has been
lugged around ever since.

from adrianp
2007-06-14 19:10:54 +00:00
pooka 9afe6367b3 crunch cornflakes 2007-06-07 11:32:44 +00:00
pooka 40ad27db84 file 4.21. bugfixes 2007-06-07 11:24:27 +00:00
christos 67f0e23f0f coverity CID 4418: Don't call strlen() with NULL. 2007-05-16 20:53:49 +00:00
pooka 000760c6d5 make print format specifiers match types printed 2007-03-04 21:50:43 +00:00
pooka 7a41045ba4 squelch gcc warnings 2007-03-04 15:25:10 +00:00
pooka 17dbe768ca apply conflict therapy for 4.20 import 2007-03-04 15:22:07 +00:00
pooka 67e9db49c9 file 4.20, contains fixes to the magic parser, new syntax and a
buffer overflow fix
2007-03-04 14:54:42 +00:00
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