[augeas-devel] [PATCH] Add 'dateext' option support to logrotate lens

Sean E. Millichamp sean at bruenor.org
Fri Sep 19 16:05:17 UTC 2008


On Fri, 2008-09-19 at 17:55 +0200, Raphaël Pinson wrote:

> Thank you for this patch. Is dateext a flag or a key/value pair? If it
> is a flag, you should not use 'word' as an argument to flag_to_eol. If
> it a key/value pair, you should use value_to_eol instead. I don't
> think the patch works the way it is.

You are right, of course.  It is a flag.  I had it working and testing
on one system, but then accidentally reverted it, recreated it on
another system (where I had the hg repo checked out) but didn't test it
again there before generating the diff.  My mistake.

Here is the corrected version.

Sean

-------------- next part --------------
A non-text attachment was scrubbed...
Name: augeas-logrotate-dateext.patch
Type: text/x-patch
Size: 351 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20080919/db1cbe24/attachment.bin>


More information about the augeas-devel mailing list