[Fakeroot-commits] [SCM] fakeroot branch, upstream, updated. 08ed00124d8b6b445d3b91a9aa15eec638b02f05

Clint Adams schizo at debian.org
Sun Nov 15 03:17:18 UTC 2009


The following commit has been merged in the upstream branch:
commit 6a2dceedeb99d9bc1c781b302e933ecb1cda53bc
Author: Clint Adams <schizo at debian.org>
Date:   Fri Oct 12 14:12:50 2007 +0000

    Apply fix from Dominique Quatravaux to avoid race condition with save files.  closes: #446351, #381016.
    
    git-archimport-id: fakeroot at packages.debian.org--fakeroot/fakeroot--main--0.0--patch-133

diff --git a/scripts/fakeroot.in b/scripts/fakeroot.in
index 687ae37..dba738b 100755
--- a/scripts/fakeroot.in
+++ b/scripts/fakeroot.in
@@ -135,7 +135,7 @@ PID=`echo $KEY_PID|cut -d: -f2`
 if [ "$WAITINTRAP" -eq 0 ]; then
   trap "kill -s @signal@ $PID" EXIT INT
 else
-  trap "kill -s @signal@ $PID ; wait $PID >/dev/null 2>&1" EXIT INT
+  trap 'FAKEROOTKEY=$FAKEROOTKEY LD_LIBRARY_PATH="$PATHS"  LD_PRELOAD="$LIB" /bin/ls -l / >/dev/null 2>&1; while kill -s @signal@ $PID 2>/dev/null; do sleep 0.1; done' EXIT INT
 fi
 
 if test -z "$FAKEROOTKEY" || test -z "$PID"; then

-- 
fakeroot



More information about the Fakeroot-commits mailing list