On Jan 28, 2005, at 11:54 PM, Eric Sorenson wrote:
This is most likely due to the reentrancy problem in CanonifyName that
I posted about earlier in the week. Those filenames get created by the
CFLOG macro in GetLocks(); the 'host' is passed into the
function as its second argument, and everybody who calls GetLock()
uses
CanonifyName() as it's passing in the arguments (thanks, cscope!!)...
This could return the same thing as last time it was called, nothing,
or someimees the correct answer.
Just for kicks, do you have a testbed environment where you can try
out
this patch and see if it fixes the problem?
http://lists.gnu.org/archive/html/bug-cfengine/2005-01/msg00012.html
Yes, I will test this patch out today.
Thanks!!