Commit Graph

219 Commits

Author SHA1 Message Date
thorpej
8d965a0542 Need <stdlib.h> for exit() prototype. 2002-12-06 02:54:19 +00:00
wiz
601c22ea2d interpret, not interpet. By Adrian Mrva. 2002-10-02 11:15:06 +00:00
grant
be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
dbj
dcb93e552f recognize Apple UFS Volume labels 2002-09-28 01:22:25 +00:00
briggs
7873bb1aba Also HAVE_STDINT_H if defined(__linux__). 2002-09-16 14:12:04 +00:00
thorpej
22eefcb754 Don't include <sys/cdefs.h> directly. On a NetBSD system, it will be
pulled in by <sys/types.h>, and on a non-NetBSD system (host tool case),
it doesn't really matter (since it's just for the __RCSID macro).

There are larger problems with mkmagic's host tool-ness.  A PR has been
filed.
2002-09-15 00:50:18 +00:00
itojun
dbf388bc4f calloc() arg mistake. it's (nelem, size). from openbsd 2002-08-12 02:40:20 +00:00
pooka
cc3d906ee9 work around cross-compile problems on 1.5.x, don't try to include
<stdint.h> on that platform
2002-08-02 20:32:55 +00:00
grant
f7ddfc3676 add additional StuffIt format. 2002-07-15 06:07:16 +00:00
pooka
8e3a8d0529 minor shuffles to make this more like the vendor version 2002-07-10 16:15:52 +00:00
pooka
040f1e000d Yamaha TX Wave
from Ben Collver <collver1@attbi.com> in misc/17487
2002-07-10 09:02:22 +00:00
pooka
aa0d25517d add scream tracker sample magic
from Ben Collver <collver1@attbi.com> in misc/17486
2002-07-10 09:00:27 +00:00
pooka
1ca3a6d1ce move impulse tracker data files into audio 2002-07-10 08:58:38 +00:00
pooka
2af7f26ded change versions for file 3.39 2002-07-09 15:01:36 +00:00
pooka
ce0a2bbbef end this destructive conflict 2002-07-09 14:59:52 +00:00
pooka
741f0f5afe file 3.39 2002-07-09 14:47:21 +00:00
wiz
239c204f66 Remove #if __STDC__, de-__P() and ANSIfy.
Okay'd by christos.
2002-06-14 19:05:18 +00:00
itojun
330a006cc4 use types defined in inttypes.h.
have attribute(packed) to struct magic to make it packed in the same way
across different archs.
2002-06-05 12:52:57 +00:00
thorpej
d22677c6bc Don't use multi-line string literals. 2002-05-30 17:36:57 +00:00
christos
71fa9914d7 PR/16941: Antti Kantee: Clean up unused functions. 2002-05-21 12:51:27 +00:00
itohy
dd60955377 file(1) magic for Human68k (X680x0 DOS) binary formats 2002-05-21 07:59:16 +00:00
pooka
89a790daf0 adapt to 3.38 2002-05-18 07:11:14 +00:00
pooka
99dec2cc40 fix botch 2002-05-18 07:05:00 +00:00
pooka
fbf022381d add zlib 2002-05-18 07:04:38 +00:00
pooka
184b2ef7fa conflict therapy 2002-05-18 07:00:44 +00:00
pooka
4f62edefc0 file 3.38 2002-05-18 06:45:50 +00:00
bjh21
23a7bb8ef2 Add support for recognising FreeBSD and OpenBSD executables. 2002-04-09 15:10:17 +00:00
bjh21
004f6e28d5 Add constants required for PT_NOTE interpretation in executables. 2002-03-30 17:54:51 +00:00
bjh21
9ba354fdc4 Add support for reading PT_NOTE segments in ELF executables. This means that
file(1) will now recognise NetBSD and Linux ELF executables correctly, thus
addressing part of PR bin/12295.
2002-03-30 16:21:28 +00:00
pooka
2e5c1d7a0d reflect magic.mime -> magic.mime.in change also here
+ fix an ooold typo ;)
2002-03-24 22:22:03 +00:00
thorpej
d70c41a1fb Fix the magic.mime problem correctly: the input file gets a different
name.
2002-03-24 22:12:59 +00:00
wiz
c41c892893 Undo last.
If no objdir exists, this change made 'make clean' remove the checked out
magic.mime, making subsequent 'make build's fail.
2002-03-24 17:16:22 +00:00
fredette
1e9998683c Added support for differentiating between ELF executables
for the 68000, 68020, and CPU32.
2002-03-22 00:19:57 +00:00
veego
8bb9a08931 Add magic.mime to CLEANFILES. 2002-03-21 22:02:06 +00:00
thorpej
fe9b2e2bd7 No need to reference .OBJDIR here. 2002-03-05 22:07:13 +00:00
ross
2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
tv
9fbd88883c Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00
thorpej
a4ea757e28 Slight cleanup to ELF core file handing, and add support for
NetBSD-style ELF core files.
2001-12-09 23:21:07 +00:00
wiz
aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
christos
9220b490d0 Install magic.mime.mgc too. 2001-10-10 16:56:27 +00:00
is
822a067a62 file recognizes Amiga icon (.info) files now. 2001-10-06 20:55:42 +00:00
gmcgarry
6b7bff4969 Recognise MLSSA datafiles 2001-09-20 03:05:54 +00:00
pooka
9a621e89a7 tweak for 3.37 2001-09-09 10:48:34 +00:00
pooka
59a767d683 resolve conflicts 2001-09-09 10:46:36 +00:00
pooka
ad8e9e60b1 file 3.37 2001-09-09 10:38:55 +00:00
pooka
0e6f52edec g/c unused crud 2001-09-09 10:33:28 +00:00
ad
e3af9d1d6b getopt() returns -1 on error, not EOF. 2001-08-18 17:10:04 +00:00
msaitoh
0ef29a9606 invert the meanings of the F_LSYMS field. 2001-08-14 21:26:54 +00:00
lukem
2d2ec1ba20 comment out "last checked" for now; it's not used in netbsd at this time,
and it's a different field in solaris
2001-07-26 10:08:38 +00:00
lukem
96a522fc27 more changes to ffs display:
- display clean flag
- fix wording of block size and fragment size
- use correct offsets for minfree, rotdelay and rps
  (at least, correct for NetBSD and Solaris 2.6/sparc)
2001-07-26 09:00:59 +00:00