libtool-patches
[Top][All Lists]
Advanced

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

[patch #3872] locking in libtool


From: anonymous
Subject: [patch #3872] locking in libtool
Date: Wed, 30 Mar 2005 20:33:01 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; pl-PL; rv:1.7.5) Gecko/20041108 Firefox/1.0

URL:
  <http://savannah.gnu.org/patch/?func=detailitem&item_id=3872>

                 Summary: locking in libtool
                 Project: GNU Libtool
            Submitted by: None
            Submitted on: Wed 03/30/2005 at 20:33
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: address@hidden
             Open/Closed: Open

    _______________________________________________________

Details:

libtool uses hard links for locking purposes. It links
itself into the directory of libtooled project. This wouldn't
work if the libtool and the project are on different volumes.
Example patch on ltmain.* files:

@@ -794,7 +794,7 @@
     # Lock this critical section if it is needed
     # We use this script file to make the link, it avoids creating a new
file
     if test "$need_locks" = yes; then
-      until $run ln "$progpath" "$lockfile" 2>/dev/null; do
+      until $run $LN_S "$progpath" "$lockfile" 2>/dev/null; do
        $show "Waiting for $lockfile to be removed"
        sleep 2
       done




    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
m --DOT-- siennicki --AT-- cloos --DOT-- pl | Originator Email




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?func=detailitem&item_id=3872>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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