summaryrefslogtreecommitdiffstats
path: root/usr.bin/file/magic-common.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Accept hexadecimal numbers without 0x if they aren't a valid decimalnicm2015-08-111-6/+10
| | | | number.
* Add another function for printing warnings before the magic_line isnicm2015-08-111-10/+24
| | | | created so all warnings go through the same fprintf.
* New implementation of the file(1) utility. This is a simplified,nicm2015-04-241-0/+83
modernised version with a nearly complete magic(5) parser but omits some of the complex builtin tests (notably ELF) and has a reduced set of options. ok deraadt