m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU M4 source repository branch, branch-1.6, updated. v1.5.89a-145


From: Eric Blake
Subject: [SCM] GNU M4 source repository branch, branch-1.6, updated. v1.5.89a-145-g58a08cc
Date: Sat, 28 Nov 2009 05:09:31 +0000

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=58a08cc51756129f0abde91e3917d7cb22413e49

The branch, branch-1.6 has been updated
       via  58a08cc51756129f0abde91e3917d7cb22413e49 (commit)
      from  80481109d9ece4d0a59ded51302873d665f102d2 (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 58a08cc51756129f0abde91e3917d7cb22413e49
Author: Eric Blake <address@hidden>
Date:   Fri Nov 27 21:54:54 2009 -0700

    Work around BSD getopt bug.
    
    * gnulib: Update.
    * doc/m4.texinfo (Command line files): Add test.
    
    Signed-off-by: Eric Blake <address@hidden>
    (cherry picked from commit a6c565c6f4b934be334dd9ada97b215595d10103)

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

Summary of changes:
 ChangeLog      |    4 ++++
 doc/m4.texinfo |   16 ++++++++++++++++
 gnulib         |    2 +-
 3 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 524457e..1623af7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2009-11-28  Eric Blake  <address@hidden>
 
+       Work around BSD getopt bug.
+       * gnulib: Update.
+       * doc/m4.texinfo (Command line files): Add test.
+
        Use correct printf formats.
        * src/macro.c (adjust_refcount): Use %zu for size_t.
        * src/builtin.c (m4_maketemp): Ensure format width argument is
diff --git a/doc/m4.texinfo b/doc/m4.texinfo
index 770fe57..e594128 100644
--- a/doc/m4.texinfo
+++ b/doc/m4.texinfo
@@ -1086,6 +1086,22 @@ syscmd([echo 'esyscmd(echo hi >&2 && echo err"print(bye
 @error{}bye
 @result{}0
 @end example
+
address@hidden Test that we obey POSIX semantics with -D interspersed with
address@hidden files, even with POSIXLY_CORRECT (BSD getopt gets it wrong).
+
+$ @kbd{m4 }
address@hidden
+ifdef(`__unix__', ,
+      `errprint(` skipping: syscmd does not have unix semantics
+')m4exit(`77')')dnl
+changequote(`[', `]')dnl
+syscmd([POSIXLY_CORRECT=1 ']__program__[' -Dbar=hello foo -Dbar=world foo])dnl
address@hidden
address@hidden
+sysval
address@hidden
address@hidden example
 @end ignore
 
 @node Syntax
diff --git a/gnulib b/gnulib
index 9bb0a7e..c0c5acf 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit 9bb0a7e5780f8cc02b234981fa17cad396a0244f
+Subproject commit c0c5acfbe255f5542bc1c81c7aec223d95e504a6


hooks/post-receive
-- 
GNU M4 source repository




reply via email to

[Prev in Thread] Current Thread [Next in Thread]