[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool's locking is wrong
From: |
Robert Boehne |
Subject: |
Re: libtool's locking is wrong |
Date: |
Thu, 27 Feb 2003 08:46:57 -0600 |
Pavel Cahyna wrote:
>
> Hello,
>
> libtool contains this:
>
> # 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 "$0" "$lockfile" 2>/dev/null; do
> $show "Waiting for $lockfile to be removed"
> sleep 2
> done
>
> The ln command fails if the libtool script itself
> and the working directory are on different filesystems.
>
Why does "ln" fail when the script is on a different filesystem?
Robert