summaryrefslogtreecommitdiff
path: root/usr.bin/file/magic-common.c
AgeCommit message (Collapse)Author
2015-08-11Accept hexadecimal numbers without 0x if they aren't a valid decimalNicholas Marriott
number.
2015-08-11Add another function for printing warnings before the magic_line isNicholas Marriott
created so all warnings go through the same fprintf.
2015-04-24New implementation of the file(1) utility. This is a simplified,Nicholas Marriott
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