diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-12-07 15:50:46 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-12-09 15:08:00 +0100 |
commit | 83dfdd298d14d885b9ebc37b3b1af703cdd27f8c (patch) | |
tree | 1287737ddf44a7cd364f06d9c41e012e9a60b2a0 /defpager | |
parent | 2640c8a8e32c2f20023e4cb91f87684c62316f19 (diff) |
trans: unlock nodes with faked attributes in fakeroot
When a node has faked attributes, we cannot drop our node.
Reinitialize the lock box as if the node was dropped. This fixes the
following bug:
% fakeroot-hurd /bin/sh -c 'touch /tmp/$$.lock
chown 0 /tmp/$$.lock
l(){ flock /tmp/$$.lock true; }; l; l'
<hangs>
* trans/fakeroot.c (fake_node_dropweak): Unlock the node if the last
real reference is dropped but we keep a fake one.
Diffstat (limited to 'defpager')
0 files changed, 0 insertions, 0 deletions