help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RecursiveEditFiles not working


From: Mark . Burgess
Subject: Re: RecursiveEditFiles not working
Date: Fri, 15 Feb 2002 17:10:12 +0100 (MET)

Note this error should have been sent to bug-cfengine, not help-cfengine.

Actually, it looks like a very simply typo, without actually testing this. 
Please
feel free to let me know if this fixes the problem:

edittools.c

371c371
< if 
(!GetLock(ASUniqueName("editfile"),CanonifyName(filename),VIFELAPSED,VEXPIREAFTER,VUQNAME,CFSTARTTIME))
---
> if 
> (!GetLock(ASUniqueName("editfile"),CanonifyName(ptr->fname),VIFELAPSED,VEXPIREAFTER,VUQNAME,CFSTARTTIME))


Mark


On 15 Feb, Rémi Perrot wrote:
> Is there some progress done on the following bug ?
> 
> Regards,
> 
> Rémi
> 
> Adrian Phillips wrote:
> 
>> RecursiveEditFiles seems to have stopped working in 2.0.a16. The
>> following debug trace shows what happens for this part of the
>> configuration :-
>> 
>>         # Edit all occurrences of dusk to dawn in csyncd configuration
>>         { /home/metop/etc/csyncd
>>                 ReplaceAll "dusk" With "dawn"
>>         }
>> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

[Prev in Thread] Current Thread [Next in Thread]