[SCM] GNU M4 source repository branch, branch-1.6, updated. v1.4.10b-18-ga86f1dc

"Eric Blake" <[email protected]>
Newsgroups gmane.comp.gnu.m4.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU M4 source repository".

http://git.sv.gnu.org/gitweb/?p=m4.git;a=commitdiff;h=a86f1dcafc38e4e18ba5dc87a18cafaf44fe8a09

The branch, branch-1.6 has been updated
       via  a86f1dcafc38e4e18ba5dc87a18cafaf44fe8a09 (commit)
      from  89e1c326f2eb19c322ef8add2a835cc9b6f4abe9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a86f1dcafc38e4e18ba5dc87a18cafaf44fe8a09
Author: Eric Blake <[email protected]>
Date:   Thu Mar 27 06:58:07 2008 -0600

    Add test for divert bug on 2007-05-28, patched 2007-07-21.
    
    * doc/m4.texinfo (Diversions): Add test.
    
    Signed-off-by: Eric Blake <[email protected]>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog      |    5 +++++
 doc/m4.texinfo |   14 ++++++++++++++
 2 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2b9b1bc..9991edc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-27  Eric Blake  <[email protected]>
+
+	Add test for divert bug on 2007-05-28, patched 2007-07-21.
+	* doc/m4.texinfo (Diversions): Add test.
+
 2008-03-24  Eric Blake  <[email protected]>
 
 	Mention FIFO m4wrap more prominently in NEWS.
diff --git a/doc/m4.texinfo b/doc/m4.texinfo
index f79e574..473b771 100644
--- a/doc/m4.texinfo
+++ b/doc/m4.texinfo
@@ -4939,6 +4939,20 @@ divert(`1')
 f
 m4exit
 @end example
+
+@comment Catch regression in 1.4.10 with spilled diversions.
+
+@example
+ifdef(`__unix__', ,
+      `errprint(` skipping: syscmd does not have unix semantics
+')m4exit(`77')')dnl
+changequote(`[', `]')dnl
+syscmd([echo 'divert(1)hi
+format(%1000000d, 1)' | m4 | sed 1q])dnl
+@result{}hi
+sysval
+@result{}0
+@end example
 @end ignore
 
 Diversions make it possible to generate output in a different order than


hooks/post-receive
--
GNU M4 source repository
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.