[SCM] GNU Autoconf source repository branch, master, updated. v2.63-264-g9f28c6e

"Eric Blake" <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.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 Autoconf source repository".

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

The branch, master has been updated
       via  9f28c6e6564c2c9bdb0ac7e285cb3e24e673c7f5 (commit)
      from  9f32bcf860f1d38a97f4c6a2f41f315287fece88 (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 9f28c6e6564c2c9bdb0ac7e285cb3e24e673c7f5
Author: Peter Breitenlohner <[email protected]>
Date:   Tue Jan 27 14:48:04 2009 +0100

    Quote traced macros passed from autom4te to M4.
    
    * bin/autom4te (handle_m4): Apply shell_quote to macro names.
    * tests/tools.at (autom4te --trace and unusual macro names): New
    test.
    * THANKS: Update.
    
    Signed-off-by: Eric Blake <[email protected]>

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

Summary of changes:
 ChangeLog       |    8 ++++++++
 THANKS          |    5 +++--
 bin/autom4te.in |    6 +++---
 tests/tools.at  |   17 +++++++++++++++--
 4 files changed, 29 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index e7d833f..4fdcce6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2009-01-27  Peter Breitenlohner  <[email protected]>  (tiny change)
+
+	Quote traced macros passed from autom4te to M4.
+	* bin/autom4te (handle_m4): Apply shell_quote to macro names.
+	* tests/tools.at (autom4te --trace and unusual macro names): New
+	test.
+	* THANKS: Update.
+
 2009-01-26  Eric Blake  <[email protected]>
 
 	Improve AC_DEFUN_ONCE semantics.
diff --git a/THANKS b/THANKS
index a3ae8c2..54310b5 100644
--- a/THANKS
+++ b/THANKS
@@ -278,6 +278,7 @@ Paul Pogonyshev             ?
 Paul Townsend               ?
 Pavel Roskin                [email protected]
 Per Øyvind Karlsen          [email protected]
+Peter Breitenlohner         [email protected]
 Peter Eisentraut            [email protected]
 Peter Hendrickson           [email protected]
 Peter O'Gorman              [email protected]
@@ -376,8 +377,8 @@ mode: text
 coding: utf-8
 End:
 
-Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
-Free Software Foundation, Inc.
+Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
+2008, 2009 Free Software Foundation, Inc.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.2 or
diff --git a/bin/autom4te.in b/bin/autom4te.in
index 50c410c..4281e03 100644
--- a/bin/autom4te.in
+++ b/bin/autom4te.in
@@ -6,8 +6,8 @@ eval 'case $# in 0) exec @PERL@ -S "$0";; *) exec @PERL@ -S "$0" "$@";; esac'
     if 0;
 
 # autom4te - Wrapper around M4 libraries.
-# Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007, 2008 Free Software
-# Foundation, Inc.
+# Copyright (C) 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009 Free
+# Software Foundation, Inc.
 
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -466,7 +466,7 @@ sub handle_m4 ($@)
 	   . ' --debug=aflq'
 	   . (!exists $ENV{'AUTOM4TE_NO_FATAL'} ? ' --fatal-warning' : '')
 	   . " @M4_DEBUGFILE@=" . shell_quote ("$tcache" . $req->id . "t")
-	   . join (' --trace=',   '', sort @macro)
+	   . join (' --trace=', '', map { shell_quote ($_) } sort @macro)
 	   . " " . files_to_options (@ARGV)
 	   . " > " . shell_quote ("$ocache" . $req->id . "t"));
 
diff --git a/tests/tools.at b/tests/tools.at
index 3fa0fdb..9282e88 100644
--- a/tests/tools.at
+++ b/tests/tools.at
@@ -2,8 +2,8 @@
 
 AT_BANNER([Executables (autoheader, autoupdate...).])
 
-# Copyright (C) 2000, 2001, 2003, 2004, 2006, 2007, 2008 Free Software
-# Foundation, Inc.
+# Copyright (C) 2000, 2001, 2003, 2004, 2006, 2007, 2008, 2009 Free
+# Software Foundation, Inc.
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -213,6 +213,19 @@ done
 AT_CLEANUP
 
 
+# autom4te --trace and unusual macro names
+# ----------------------------------------
+
+AT_SETUP([autom4te --trace and unusual macro names])
+
+AT_DATA([file.m4],
+[[
+]])
+AT_CHECK_AUTOM4TE([-t 'TR A CE' -t 'TR(A)CE' file.m4])
+
+AT_CLEANUP
+
+
 ## ------------------ ##
 ## autoconf --trace.  ##
 ## ------------------ ##


hooks/post-receive
--
GNU Autoconf 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.