Cluster Project branch, master, updated. cluster-2.99.06-19-g38149ff

fabbione@sourceware.org fabbione@sourceware.org
Thu Jul 17 10:24:00 GMT 2008


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 "Cluster Project".

http://sources.redhat.com/git/gitweb.cgi?p=cluster.git;a=commitdiff;h=38149ffe655f0f9c3cc2c03ac111e32a143e0913

The branch, master has been updated
       via  38149ffe655f0f9c3cc2c03ac111e32a143e0913 (commit)
      from  009b751282aad0f0ac1a98ed74e46986ded187e1 (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 38149ffe655f0f9c3cc2c03ac111e32a143e0913
Author: Fabio M. Di Nitto <fdinitto@redhat.com>
Date:   Thu Jul 17 12:23:48 2008 +0200

    [BUILD] Fix race condition in oldconfig update/execution
    
    Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>

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

Summary of changes:
 configure |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index ac5ecff..ae90287 100755
--- a/configure
+++ b/configure
@@ -794,10 +794,12 @@ print OFILE "CFLAGS += -DRELEASE_VERSION=\\\"$release_version\\\"\n";
 
 close OFILE;
 
-open OFILE, ">${objdir}/.configure.sh" or die "Can't redirect stdout";
+open OFILE, ">${objdir}/.configure.sh.tmp" or die "Can't redirect stdout";
 print OFILE "#!/bin/bash\n";
 print OFILE "$0 @invoke \$@\n";
 print OFILE "exit \$?\n";
 close OFILE;
 
+system("mv ${objdir}/.configure.sh.tmp ${objdir}/.configure.sh");
+
 print "Completed Makefile configuration\n\n";


hooks/post-receive
--
Cluster Project



More information about the Cluster-cvs mailing list