Re: argv_ref patch 28: handle NUL in warning messages

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.patches
Message-ID <[email protected]>
Eric Blake <ebb9 <at> byu.net> writes:

> I'm not sure what went wrong, but I must have pushed an early version of my 
> intended commit.  branch-1.6 fails its testsuite without this followup.

And another followup, needed if changequote is not available (in which case, 
the macro `c' was defined earlier in the test file).


From: Eric Blake <[email protected]>
Date: Mon, 16 Feb 2009 14:13:19 -0700
Subject: [PATCH] Fix bogus testsuite failure from 2009-02-11.

* examples/null.m4: Fix typo.

Signed-off-by: Eric Blake <[email protected]>
---
 ChangeLog        |    1 +
 examples/null.m4 |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2097dd4..d46c69b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@

 	Fix bogus testsuite failure from 2009-02-11.
 	* examples/null.err: Fix typo.
+	* examples/null.m4: Likewise.

 2009-02-12  Eric Blake  <[email protected]>

diff --git a/examples/null.m4 b/examples/null.m4
index 3f901f4..5c78557 100644
--- a/examples/null.m4
+++ b/examples/null.m4
@@ -186,7 +186,7 @@ errprint(`substr:
 dnl Third argument of substr:
 substr(`abc', `1', `1^@1')dnl
 dnl Fourth argument of substr:
- substr(`abc', `1', `1', `1^@1')
+ substr(``abc'', `2', `1', `1^@1')
 dnl Passed to syscmd:
 `syscmd:'errprint(`syscmd:
 ') syscmd(`echo +^@+')sysval
-- 
1.6.1.2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.