Commit Graph

124 Commits

Author SHA1 Message Date
jeffs 9b80c90ec0 Print ABI and mips level for "real" little endian MIPS binaries too. 2000-08-13 06:33:03 +00:00
jeffs 45de998997 Handle MIPS little endian output better when bfd outputs magic 8 (MIPS BE)
instead of 10 (MIPS LE).
2000-08-10 19:12:40 +00:00
hubertf 6f5f0322c6 Allow file(1) Magic file to be recognized as such by file(1)
Noted in PR 10712 by Jun-ichiro itojun Hagino <itojun@itojun.org>
2000-07-31 00:39:29 +00:00
mycroft 9822fee1d0 Make the code to determine whether we need to byte-swap headers at least
pretend to work on 64-bit hosts (and not overrun an array).
2000-07-26 15:19:35 +00:00
tsubai 290cb2c943 Recognize NetBSD/powerpc core file. 2000-06-08 13:57:41 +00:00
soren 0abc97dcd7 Comment out RCS ID. 2000-05-14 23:28:43 +00:00
christos 5d9fa0390d Resolve conflicts 2000-05-14 22:53:37 +00:00
christos 0bb263b436 new file 3.31 2000-05-14 22:44:21 +00:00
mycroft 5cc7cec6d9 More .mk file fallout. 2000-01-23 18:00:38 +00:00
mycroft f5d7100e26 Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
the correct definition from errno.h.
2000-01-21 17:08:33 +00:00
tron 3f173f204a Increase default size of magic entries array to 4096 because NetBSD's
magic(5) has more than 2048 entries already.
1999-12-31 13:09:20 +00:00
tron 6f563995b5 Do reallaction of magic entries array carefully to avoid possible memory
leak. Patch based on PR bin/9081 by Jun-ichiro itojun Hagino.
1999-12-31 13:07:59 +00:00
jwise d6907ab16b Use <inttypes.h> to get typedefs of integral types instead of local #defines
in "config.h".  Makes this compile again.
1999-11-02 21:05:20 +00:00
christos 7d48644528 Resolve corn flakes. 1999-11-01 17:39:26 +00:00
christos 39cf80bb8c new version of file(1) 1999-11-01 17:30:12 +00:00
itojun 510eaf2f65 fix duplicated "leshort 42 Hitachi SH" (one of them should be "beshort").
(part of NetBSD/sh3 patches)
1999-09-12 16:38:16 +00:00
mycroft 3596f4a0cb Increase the default maxmagic. 1999-09-04 19:51:58 +00:00
mycroft bd10bffcd8 Make maxmagic always increase by a factor of 2. 1999-09-04 19:51:11 +00:00
enami 07f35abba9 Replace TAB in message printed by file command with SPACE. 1999-08-21 16:05:56 +00:00
matt a5b92e89e1 Add knowledge of the VAX ELF magic number 1999-08-21 00:28:09 +00:00
hubertf 057479d6da Add sidplay information, submitted in PR 7918 by Antti Kantee <pooka@iki.fi> 1999-07-05 21:38:21 +00:00
kleink 825dd7f56f It's big endian. 1999-03-31 19:18:36 +00:00
he 392f839e3f Prevent `file' from trying to use the (directory!) /usr/share/misc as the
magic file database.
1999-02-16 12:32:52 +00:00
lukem a4547242e3 use MFILESDIR instead of FILESDIR. fixes problems some people are having 1999-02-16 07:11:27 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
hubertf 3ddc74e157 Add "mp3" audio file information to file(1)/magic
per PR 6497 by C Kane <ckane@best.com>
1998-11-25 07:54:21 +00:00
christos c3203395bd char -> unsigned char 1998-11-06 23:06:38 +00:00
is 30d737b32b learn more about AMANDA files 1998-10-29 11:11:49 +00:00
matt 2e3397e773 Teach file that NetBSD/vax has two magic numbers. 1998-10-12 01:41:32 +00:00
thorpej 23309c9e22 Make the magic type field explicitly unsigned and fix comparisons of this
value appropriately.  Fixes warnings on systems where char is naturally
unsigned.
1998-09-30 18:51:13 +00:00
lukem 9dee5d2b46 don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
christos 8f945ca5b1 Amend copyright to a berkeley style one. From Ian Darwin. 1998-09-24 12:50:27 +00:00
christos f46e623e45 Turn on ELF and other NetBSD features. 1998-09-20 15:36:46 +00:00
christos 397e929e3b remove old files. 1998-09-20 15:32:43 +00:00
christos faf55c153e resolve corn flakes. 1998-09-20 15:27:15 +00:00
christos a7ad0f02b4 file-3.26 1998-09-19 18:07:40 +00:00
matt c65b52687e Add entries for Alpha, ARM, PARISC, SPARC V9, IA64, and others 1998-08-12 17:48:35 +00:00
kleink 373a8e33dd Recognize the new tzcode >= 1997h timezone data magic value. 1998-07-09 11:42:19 +00:00
hubertf 5dd9482e0e Word Perfect "magic" entries, submitted by ksulliva@psc.edu in PR 4940. 1998-02-06 02:47:26 +00:00
perry 3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
lukem 8ba07ab0b3 use CPPFLAGS instead of CFLAGS 1997-10-24 09:00:17 +00:00
lukem b01545b899 WARNSify 1997-10-18 14:53:48 +00:00
lukem 906b60f5e0 getopt returns -1 not EOF 1997-10-18 14:49:41 +00:00
hubertf a06fe60f95 /etc/magic entries for the clisp common lisp system added.
Closes PR bin/4186 by Jim Wise <jimw@fornost.turner.com>
1997-10-07 04:39:35 +00:00
is 5379dca61e /etc/magic -> /usr/share/misc/magic 1997-09-30 17:00:30 +00:00
mark 68401510be Fixed recognition of NetBSD/arm32 shared libraries and dynamically
linked executables.
1997-07-16 02:50:45 +00:00
mjacob 9c69077919 Macro expansion of shell metacharacters did not occur for me. I made
a :sh variable to get the list of magic files instead.
1997-05-17 21:15:35 +00:00
jtk f0cba0dcb5 MIPS RS3000 should be R3000 1997-05-17 12:36:22 +00:00
thorpej 6eb4708731 Add two more casts to (unsigned char) to make this work on the PowerPC. 1997-04-19 05:21:36 +00:00
mikel 8e4e532ceb include magdir/386bsd in MAGFILES; from Alan Barrett in PR misc/3422. 1997-04-03 07:17:24 +00:00