1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-25 07:49:18 +00:00
freebsd/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
gnum4.c m4: import patch from OpenBSD 2019-09-09 15:24:48 +00:00
look.c
m4.1
main.c
Makefile
Makefile.depend
mdef.h
misc.c
NOTES
parser.y
pathnames.h
stdd.h
tokenizer.l
trace.c