autoconf-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Autoconf source repository branch, master, updated. v2.61a-308


From: Ralf Wildenhues
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.61a-308-gce4ff03
Date: Fri, 23 Nov 2007 18:42:17 +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 Autoconf source repository".

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

The branch, master has been updated
       via  ce4ff0376345c1dae710879293c5aa61d96fd446 (commit)
      from  a13f9b79a63880992b1486e42976398c84feae8b (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 ce4ff0376345c1dae710879293c5aa61d96fd446
Author: Ralf Wildenhues <address@hidden>
Date:   Fri Nov 23 19:42:00 2007 +0100

    Fix awk script optimization.
    
    * lib/autotest/general.m4 (AT_INIT): For awk line number
    extraction script, ensure `$at_group' has a defined value
    even for the empty set, and properly quote its usage inside
    the awk script.

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

Summary of changes:
 ChangeLog               |    7 +++++++
 lib/autotest/general.m4 |    4 ++--
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index efc33d0..d6d42ea 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-11-23  Ralf Wildenhues  <address@hidden>
+
+       * lib/autotest/general.m4 (AT_INIT): For awk line number
+       extraction script, ensure `$at_group' has a defined value
+       even for the empty set, and properly quote its usage inside
+       the awk script.
+
 2007-11-22  Ralf Wildenhues  <address@hidden>
 
        * doc/autoconf.texi (Shell Functions): New chapter.  Document
diff --git a/lib/autotest/general.m4 b/lib/autotest/general.m4
index b40db8d..6fa3f2e 100644
--- a/lib/autotest/general.m4
+++ b/lib/autotest/general.m4
@@ -873,7 +873,7 @@ else
 fi
 
 # Get the last needed group.
-for at_group in $at_groups; do :; done
+for at_group in : $at_groups; do :; done
 
 # Extract the start and end lines of each test group at the tail
 # of this file
@@ -885,7 +885,7 @@ BEGIN { FS="" }
 /address@hidden:@AT_STOP_/ {
   test = substr ($ 0, 10)
   print "at_sed" test "=\"1," start "d;" NR "q\""
-  if (test == '$at_group') exit
+  if (test == "'"$at_group"'") exit
 }' "$at_myself" > "$at_test_source"
 . "$at_test_source"
 


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

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