summaryrefslogtreecommitdiffstats
path: root/usr.bin/file
Commit message (Collapse)AuthorAgeFilesLines
* Vastly improve the speed of the file command by makingwes1999-07-222-6/+7
| | | | | | | | | the expected size of the magic(5) database agree with the real world. Also, improve the behavior of the realloc mechanism when the magic database does exceed expectations. Reviewed by: Peter Jeremy, Matt Dillon Obtained from: Peter Edwards <peter.edwards@isocor.ie>
* Don't go looking for weird #includes if major isn't a macro.phk1999-05-101-16/+1
|
* Add Hitachi SH-3, SH-4, ARM, PPC, 68k PA-ARCH and a few others to PEimp1999-01-091-27/+99
| | | | | file types. Also add bit interpretation from NetBSD to give more details about the file.
* New file formats.obrien1998-11-1518-0/+645
| | | | Obtained from: NetBSD-current/src/usr.bin/file/magdir
* Additional file formats.obrien1998-11-151-7/+38
| | | | Obtained from: NetBSD-current/src/usr.bin/file/magdir/msdos
* Added Microsoft's PE formatted executables for mips, i386 and Alpha.imp1998-10-221-1/+33
| | | | | | | Also added entry for the debugger files as well. The PE format is used for all Win32 platforms (Win95, Win98, WinNT and WinCE), so it is nice to be able to tell what kind of thing the foo.dll.... Don't have any data for powerpc formats, however...
* Don't try to print out the signal number that caused core to bejdp1998-10-091-3/+1
| | | | | dumped. It is not in a fixed location in the file, so at best, garbage comes out. I don't think this code was ever valid.
* Fix "file" so that it prints the program names from core filesjdp1998-10-031-12/+16
| | | | correctly.
* Remove useless `BINOWN=root' now that it is the default.obrien1998-09-191-4/+2
|
* Correct zsh shell script entry.cracauer1998-09-071-2/+2
| | | | | PR: bin/7657 Submitted by: Dom Mitchell dom@phmit.demon.co.uk
* This PR contains additional magic for file(1) describingphk1998-08-071-0/+50
| | | | | | | | | | | various adventure game data files. from Allen Garvin <earendil@faeryland.tamu-commerce.edu> Edited by Dave Chapeskie <dchapes@ddm.on.ca> Jun 28, 1998 PR: 7466 Reviewed by: phk Submitted by: The Frobozz Magic Homing Pigeon Company
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-4/+2
|
* Can't use ~0L to compare against a uint32. Use ~((uint32) 0) instead.jb1998-02-201-2/+2
|
* Add #include <string.h> to get prototypes.jb1998-02-201-1/+2
|
* Convert to mdoc. Move Id to the top.charnier1998-02-041-82/+91
|
* Add rcsid. RU#. Use err(3) instead of local redefinition. Convert man page tocharnier1998-01-2813-499/+337
| | | | mdoc format. Add usage(). Remove rcs $ Log $ -> use cvs log instead.
* /etc/magic -> /usr/share/misc/magicsteve1997-11-041-2/+2
| | | | PR: docs/4872
* Check for invalid lower controls to not claim binary data with chars < 128 asache1997-10-041-8/+11
| | | | | ASCII _text_ Cleanup names detection code
* Add magic for FIGlet fonts and controlfilesobrien1997-06-291-0/+9
| | | | Obtained from: Figlet v2.2 release.
* Remove the etc-magic target since we no longer install thempp1997-04-041-5/+1
| | | | /etc/magic symlink.
* The magic file now lives in /usr/share/misc.mpp1997-04-041-5/+7
| | | | | | Closes PR# 3187. Submitted by: Ollivier Robert <roberto@keltia.freenix.fr>
* Fix broken built-in ELF file handling, caused by missing prototypesjdp1997-03-292-3/+7
| | | | and use of off_t. Correct the types of Elf64_Addr and Elf64_Off.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* I had to rename one additional file in the last file import, sompp1997-03-201-1/+2
| | | | update this script to reflect that.
* The author picked up this file from FreeBSD, but gave it a different namempp1997-03-181-72/+0
| | | | in file v3.22, so this one is going away.
* Merge to resolve conflicts with file 3.22 merge.mpp1997-03-1819-270/+531
|
* This commit was generated by cvs2svn to compensate for changes in r23988,mpp1997-03-1833-85/+1136
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Upgrade to file version 3.22.mpp1997-03-1852-326/+1709
| | | | | | | | Obtained from: ftp://ftp.deshaw.com/pub/file/file-3.22.tar.gz
| * This commit was manufactured by cvs2svn to create branch 'VENDOR-file'.cvs2svn1996-10-242-0/+24
| |
* | Revert $FreeBSD$ to $Id$peter1997-02-221-2/+5
| |
* | Revert $FreeBSD$ to $Id$peter1997-02-2222-22/+31
| |
* | Add framemaker 5.0.phk1997-02-041-0/+1
| | | | | | | | This file could be rationalized I belive.
* | Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1422-22/+25
| | | | | | | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* | Move the check for ASCIIness earlier. This avoids the followingjoerg1996-12-201-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | misdetection: j@uriah 307% file X.hga X.hga: 80386 COFF executable not stripped j@uriah 308% strings X.hga | head -3 ~f&`i .text .data j@uriah 309% strings X.hga | file - standard input: assembler program text New version: j@uriah 310% strings X.hga | ./file - standard input: International language text Reviewed by: christos@deshaw.com (Christos Zoulas)
* | Restored installation of /etc/magic. It's now a symlink instead of abde1996-12-131-9/+10
| | | | | | | | | | | | | | | | | | file (like /etc/termcap). /usr/src/etc/Makefile depends on there being an etc-magic install rule here, and who-knows-what depends on `magic' being in /etc. Fixed some style bugs - don't use -c for installing files in the obj directory...
* | Add another matching algorithhm to do heuristics for internationaljoerg1996-12-114-6/+83
| | | | | | | | | | | | | | | | | | | | | | | | language text files. Should finally close PR # bin/1925: file does not consider cyrillic text..., though i've never got any response from the originator about my suggestion. While i was at it, also move out the `magic' file to /usr/share/misc, there's nothing that magic with this file to justify its life under /etc.
* | Detect GUS patches nowache1996-11-171-0/+6
| |
* | Teach file about:erich1996-10-243-1/+14
| | | | | | | | | | | | 1) our branded elf's 2) mpeg audio/video/system streams 3) compiled java classes
* | Added magic file for bzip in ./Magdirandreas1996-09-271-0/+14
| | | | | | | | Obtained from: bzip sources ;)
* | Make "file foo.core" print the program name properly again.jdp1996-09-051-1/+1
| |
* | make install should not install any file in /etc.wosch1996-08-171-2/+3
| |
* | New magic file with more politically correct identification of objectsjkh1996-07-051-12/+78
| | | | | | | | | | and execs. Submitted-By: Brent Nordquist <nordquis@winternet.com>
* | Update an offset field for i386 a.out core files, so that the programjdp1996-04-181-1/+1
| | | | | | | | | | | | | | name comes out right again. Note: Don't bring this change directly into the -stable branch. The appropriate offset for -stable is different.
* | Fix a typo in the syntax for indirect offsets.jdp1996-04-181-2/+2
| |
* | Fixed some minor formatting problems to silence manck some more.mpp1996-02-121-3/+2
| | | | | | | | | | | | | | | | | | Corrected some bogus cross references to man pages that we don't/won't have and either deleted them, or found a more appropriate man page that we do have. Various other minor changes to silence manck. Manck is currently down to about 200 lines of errors, down from the 500 - 600+ when I started all this.
* | Recognize ld.so.hints file. Don't ask.wollman1996-02-071-0/+5
| |
* | Correct some manual page cross reference errors. E.g. su is a sectionmpp1996-02-021-2/+2
| | | | | | | | | | one man page, not section eight. This is the first round of such changes and only fixes man pages in manual section one.
* | Fix a bunch of spelling errors in a bunch of man pages.mpp1996-01-301-3/+3
| |
* | Merged changes to resolve conflicts with file 3.19 import.mpp1996-01-2314-155/+357
| |
* | This commit was generated by cvs2svn to compensate for changes in r13584,mpp1996-01-2380-375/+1735
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
OpenPOWER on IntegriCloud