summaryrefslogtreecommitdiff
path: root/usr.bin/file/magic-load.c
AgeCommit message (Expand)Author
2015-10-05Add support for !:strength modifier to adjust strength of a test.Nicholas Marriott
2015-08-11Only warn about [bl]estring16 when they are used, like the otherNicholas Marriott
2015-08-11Any type can be prefixed with "u", even where it makes no sense. AlsoNicholas Marriott
2015-08-11Warn sensibly for unrecognised !: lines rather than trying to parse them.Nicholas Marriott
2015-08-11Actually leave the invalid ml in the tree after making it type NONE.Nicholas Marriott
2015-08-11An invalid line can't just be thrown away because if it has any childrenNicholas Marriott
2015-08-11Extend accepted operators to +-&/%* for integer tests.Nicholas Marriott
2015-08-11Support = test for floats and doubles.Nicholas Marriott
2015-08-11If we are expecting a signed number but it fails, try to parse it asNicholas Marriott
2015-08-11Allow spaces around any operator, not just =.Nicholas Marriott
2015-08-11Include more context in warnings where it is possible.Nicholas Marriott
2015-08-11Add another function for printing warnings before the magic_line isNicholas Marriott
2015-07-08Do not allow '\0' as an offset operator or type.Tobias Stoeckmann
2015-05-29I got confused and made the strength multiplier 20, it should be 10.Nicholas Marriott
2015-04-25Only print MIME warnings when warnings are enabled.Nicholas Marriott
2015-04-25Fail if a \ appears at EOL rather than continuing off the end of theNicholas Marriott
2015-04-24Add a couple of missing spaces (style nits).Nicholas Marriott
2015-04-24New implementation of the file(1) utility. This is a simplified,Nicholas Marriott