b7d198c776
Never unlink() a lock when releasing it. This is quite bad when used with shared locks. At the same time, don't write any pid information in it, because it's not always reliable (see previous commit).