Stage 28a: Warn on embedded NUL in numeric arguments.
commit185b10ba33786707f6478b8315e9527151f60902
authorEric Blake <ebb9@byu.net>
Thu, 5 Feb 2009 14:47:32 +0000 (5 07:47 -0700)
committerEric Blake <ebb9@byu.net>
Wed, 11 Feb 2009 20:55:56 +0000 (11 13:55 -0700)
tree9c5c858994526ccdfe33612b1a775685c81949ef
parent052319b635abea0efba90930031d9c0899dcb0a8
Stage 28a: Warn on embedded NUL in numeric arguments.

* m4/m4module.h (m4_numeric_arg): Adjust prototype.
* m4/utility.c (m4_numeric_arg): Add parameter.
* modules/gnu.c (debuglen): Adjust callers.
* modules/m4.c (incr, decr, divert, undivert, m4exit, substr)
(index): Likewise.
* modules/evalparse.c (m4_evaluate): Likewise.
* modules/stdlib.c (setenv, getpwuid, srand): Likewise.
* modules/time.c (ctime, gmtime, localtime, mktime, strftime):
Likewise.
* doc/m4.texinfo (Changesyntax): Fix typo.
* tests/others.at (nul character): Adjust test.
* tests/null.m4: Likewise.
* tests/null.out: Likewise.
* tests/null.err: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
13 files changed:
ChangeLog
doc/m4.texinfo
m4/m4module.h
m4/utility.c
modules/evalparse.c
modules/gnu.c
modules/m4.c
modules/stdlib.c
modules/time.c
tests/null.err
tests/null.m4
tests/null.out
tests/others.at