freebsd-skq/usr.bin/m4
Baptiste Daroussin db531a5d18 m4: import from OpenBSD
patch by espie@

replace sloppy parsing of numeric values with strtonum (incr, decr, divert)

still use integers, so use the natural bounds for these.

POSIX says m4 should error when these use non numeric values, and now they
do.

okay millert@

Obtained from:	OpenBSD
2019-09-09 15:35:34 +00:00
..
TEST
tests
eval.c m4: import from OpenBSD 2019-09-09 15:35:34 +00:00
expr.c
extern.h Import from OpenBSD: -E flag 2019-09-09 15:18:04 +00:00
gnum4.c m4: import patch from OpenBSD 2019-09-09 15:24:48 +00:00
look.c
m4.1 Import from OpenBSD: -E flag 2019-09-09 15:18:04 +00:00
main.c Import from OpenBSD: -E flag 2019-09-09 15:18:04 +00:00
Makefile Import from OpenBSD a patch which eliminates the link with -ly or -ly 2019-09-09 15:20:19 +00:00
Makefile.depend
mdef.h
misc.c Import from OpenBSD: -E flag 2019-09-09 15:18:04 +00:00
NOTES
parser.y
pathnames.h
stdd.h
tokenizer.l Import from OpenBSD a patch which eliminates the link with -ly or -ly 2019-09-09 15:20:19 +00:00
trace.c