automake-commit
[Top][All Lists]
Advanced

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

[Automake-commit] [SCM] GNU Automake branch, maint, updated. v1.11-303-g


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, maint, updated. v1.11-303-gead12d3
Date: Sun, 23 Jan 2011 12:23:02 +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 Automake".

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

The branch, maint has been updated
       via  ead12d3f08f5a04db3fef1a70ee62e1835ce2633 (commit)
      from  e9cb6db11693a39051b43574405c651ce91ab37d (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 ead12d3f08f5a04db3fef1a70ee62e1835ce2633
Author: Stefano Lattarini <address@hidden>
Date:   Sun Jan 23 12:54:35 2011 +0100

    tests defs: sanitize IFS
    
    * tests/defs.in ($IFS): Define to <space>, <tab>, <newline>.
    ($sp): New variable, holding a single whitespace character.
    ($tab): New variable, holding a tabulation character.
    ($nl): New variable, holding a newline character.

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

Summary of changes:
 ChangeLog     |    8 ++++++++
 tests/defs.in |   12 ++++++++++++
 2 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 48f0ce2..a12a8d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-01-23  Stefano Lattarini  <address@hidden>
+
+       tests defs: sanitize IFS
+       * tests/defs.in ($IFS): Define to <space>, <tab>, <newline>.
+       ($sp): New variable, holding a single whitespace character.
+       ($tab): New variable, holding a tabulation character.
+       ($nl): New variable, holding a newline character.
+
 2011-01-22  Ralf Wildenhues  <address@hidden>
 
        tests: fix VPATH auto-expansion workarounds.
diff --git a/tests/defs.in b/tests/defs.in
index ee19dbe..21fcc34 100644
--- a/tests/defs.in
+++ b/tests/defs.in
@@ -34,6 +34,18 @@ else
   case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 fi
 
+# A single whitespace character.
+sp=' '
+# A tabulation character.
+tab='  '
+# A newline character.
+nl='
+'
+
+# As autoconf-generated configure scripts do, ensure that IFS
+# is defined initially, so that saving and restoring $IFS works.
+IFS=$sp$tab$nl
+
 # Ensure we are running from the right directory.
 test -f ./defs || {
    echo "defs: not found in current directory" 1>&2


hooks/post-receive
-- 
GNU Automake



reply via email to

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