cfengine/core — pull request #457 by dottedmag (2013-03-22 12:26:36+00:00)
Title: Store proper PID in locks database by forking before taking a lock

Please test extensively. Not even compile-tested (don't have an environment to compile it ATM).