[SCM] GNU Autoconf source repository branch, master, updated. v2.63b-60-gcafdba3
"Ralf Wildenhues" <[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=cafdba3139a2f7dfa706b35d9c8f35298896d1b2
The branch, master has been updated
via cafdba3139a2f7dfa706b35d9c8f35298896d1b2 (commit)
from ca473068618a0b879a4ffe20910a9f827d223c6d (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 cafdba3139a2f7dfa706b35d9c8f35298896d1b2
Author: Ralf Wildenhues <[email protected]>
Date: Fri Jun 12 13:38:57 2009 +0200
Fix concurrent autom4te.cache directory creation race.
* bin/autom4te.in: Do not error out if another `autom4te'
instance created the cache directory before we could.
Signed-off-by: Ralf Wildenhues <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 ++++++
bin/autom4te.in | 3 ++-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index f474f70..dd5a354 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-06-12 Ralf Wildenhues <[email protected]>
+
+ Fix concurrent autom4te.cache directory creation race.
+ * bin/autom4te.in: Do not error out if another `autom4te'
+ instance created the cache directory before we could.
+
2009-06-11 Steven G. Johnson <[email protected]>
and Eric Blake <[email protected]>
diff --git a/bin/autom4te.in b/bin/autom4te.in
index 471b165..cf425bb 100644
--- a/bin/autom4te.in
+++ b/bin/autom4te.in
@@ -972,10 +972,11 @@ if ($freeze)
exit $exit_code;
}
-# We need our cache directory.
+# We need our cache directory. Don't fail with parallel creation.
if (! -d "$cache")
{
mkdir "$cache", 0755
+ or -d "$cache"
or fatal "cannot create $cache: $!";
}
hooks/post-receive
--
GNU Autoconf source repository