Update of /cvsroot/fink/fink
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5908

Modified Files:
        ChangeLog lockwait.in 
Log Message:
fix faulty logic in lockwait

Index: lockwait.in
===================================================================
RCS file: /cvsroot/fink/fink/lockwait.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- lockwait.in 19 Mar 2006 08:50:47 -0000      1.6
+++ lockwait.in 20 Mar 2006 04:32:56 -0000      1.7
@@ -40,7 +40,7 @@
                        local $SIG{ALRM} = sub { die "alarm\n" };
                        alarm $timeout if $timeout;
                        print STDERR "Waiting for lock, timeout = $timeout\n" 
if $debug;
-                       fcntl(LOCK, F_SETLKW, $struct_flock) or
+                       ($lock_ok = fcntl(LOCK, F_SETLKW, $struct_flock)) or
                                die "lockwait: Can't get lock or wait: $!";
                        alarm 0;
                };

Index: ChangeLog
===================================================================
RCS file: /cvsroot/fink/fink/ChangeLog,v
retrieving revision 1.407
retrieving revision 1.408
diff -u -d -r1.407 -r1.408
--- ChangeLog   19 Mar 2006 22:21:35 -0000      1.407
+++ ChangeLog   20 Mar 2006 04:32:56 -0000      1.408
@@ -1,5 +1,9 @@
 2006-03-19  Dave Vasilevsky  <[EMAIL PROTECTED]>
 
+       * lockwait.in: Fix faulty logic.
+
+2006-03-19  Dave Vasilevsky  <[EMAIL PROTECTED]>
+
        * fink.info.in: Actually need to complete successfully.
 
 2006-03-19  Dave Vasilevsky  <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to