bug-cfengine
[Top][All Lists]
Advanced

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

Re: RecursiveEditFiles not working


From: Rémi Perrot
Subject: Re: RecursiveEditFiles not working
Date: Fri, 15 Feb 2002 17:26:55 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20020203

address@hidden wrote:

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

Sorry


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))

Ok I'll try it and let's you, but it's a big jump for me as I'm still  in a16.


Regards,

Rémi



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]