[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Autoconf source repository branch, master, updated. v2.62-21-g
From: |
Eric Blake |
Subject: |
[SCM] GNU Autoconf source repository branch, master, updated. v2.62-21-g809b3e5 |
Date: |
Tue, 13 May 2008 19:43:49 +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=809b3e5353f4091e55a8cd918af31309e40b3d1c
The branch, master has been updated
via 809b3e5353f4091e55a8cd918af31309e40b3d1c (commit)
from 4bd87562dca6bcf5e0cf3f282782b9e0ee3df7b3 (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 809b3e5353f4091e55a8cd918af31309e40b3d1c
Author: Stepan Kasal <address@hidden>
Date: Tue May 13 13:40:55 2008 -0600
Work around MSYS and Cygwin bugs when dealing with trailing space.
* tests/atlocal.in (func_sanitize_dir_name): Let atlocal succeed,
even when platform bugs are tickled.
Reported by Keith Marshall and Eric Blake.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
tests/atlocal.in | 17 +++++++++--------
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 5af9cd0..dc02724 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-05-13 Stepan Kasal <address@hidden>
+
+ Work around MSYS and Cygwin bugs when dealing with trailing space.
+ * tests/atlocal.in (func_sanitize_dir_name): Let atlocal succeed,
+ even when platform bugs are tickled.
+ Reported by Keith Marshall and Eric Blake.
+
2008-05-12 Ralf Wildenhues <address@hidden>
Let AC_MSG_FAILURE report pwd.
diff --git a/tests/atlocal.in b/tests/atlocal.in
index baef986..ad72c37 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -44,11 +44,12 @@ else
fi
# Can we create directories with trailing whitespaces in their name?
-rm -rf 'tdir /'
-mkdir 'tdir ' && touch 'tdir /tfile' 2>/dev/null
-if test -f 'tdir /tfile'; then
- func_sanitize_dir_name () { echo "$@"; }
-else
- func_sanitize_dir_name () { echo "$@" | sed 's/ *$//'; }
-fi
-rm -rf 'tdir /'
+rm -rf 'tdir ' && mkdir 'tdir ' && touch 'tdir /tfile' 2>/dev/null
+a=$?
+rm -rf 'tdir '
+case $a$? in #(
+00)
+ func_sanitize_dir_name () { echo "$@"; } ;; #(
+*)
+ func_sanitize_dir_name () { echo "$@" | sed 's/ *$//'; } ;;
+esac
hooks/post-receive
--
GNU Autoconf source repository
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Autoconf source repository branch, master, updated. v2.62-21-g809b3e5,
Eric Blake <=