Applied
Welborn, David wrote:
> Mark, et al.,
>
> This patch fixes another bogus ""Unknown action in editing of file""
> warnings generated in edittools.c
> (similar to fix added in revision 363)
>
> This code was missing from the ASCII Edit section:
>
> * Repository
>
>
> Similarly, (after some quick testing),
> I also added the codes that were functional (but generated "Cannot use
> %s in a binary edit" errors) in Binary Edit mode
>
> * Filter
> * DefineClasses
> * ElseDefineClasses
> * IfElapsed
> * ExpireAfter
> * Repository
>
>
> (patch below)
>
> Regards,
> --David
>
>
> *** src/edittools.c.orig Sun Feb 17 03:42:42 2008
> --- src/edittools.c Sun Feb 28 14:18:14 2010
> ***************
> *** 253,258 ****
> --- 253,259 ----
> case ElseDefineClasses:
> case EditIfElapsed:
> case EditExpireAfter:
> + case EditRepos:
> case EditSplit:
> break;
>
> ***************
> *** 1965,1970 ****
> --- 1966,1979 ----
>
> switch(ep->code)
> {
> + case EditFilter:
> + case DefineClasses:
> + case ElseDefineClasses:
> + case EditIfElapsed:
> + case EditExpireAfter:
> + case EditRepos:
> + break;
> +
> case WarnIfContainsString:
> WarnIfContainsRegex(memseg,statbuf.st_size,expdata,filename);
> break;
>
>
> ******************************************************************************************
>
> This message may contain confidential or proprietary information intended
> only for the use of the
> addressee(s) named above or may contain information that is legally
> privileged. If you are
> not the intended addressee, or the person responsible for delivering it to
> the intended addressee,
> you are hereby notified that reading, disseminating, distributing or copying
> this message is strictly
> prohibited. If you have received this message by mistake, please immediately
> notify us by
> replying to the message and delete the original message and any copies
> immediately thereafter.
>
> Thank you.
> ******************************************************************************************
>
> FACLD
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bug-cfengine mailing list
> [email protected]
> https://cfengine.org/mailman/listinfo/bug-cfengine
--
Mark Burgess
-------------------------------------------------
Professor of Network and System Administration
Oslo University College, Norway
Personal Web: http://www.iu.hio.no/~mark
Office Telf : +47 22453272
-------------------------------------------------
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine