On Jul 30, 2007, at 5:39 PM, Jo Rhett wrote:

From my reading of the code the OUTPUT step is just so that you can sprintf() variables into the string. When you aren't passing in variables you don't need that step.
(someone clue me in if I am wrong)

Ah, I hadn't picked up on that difference. Yeah, looks like its fine; the first thing CfLog does is to copy the passed-in string into its own stack variable, so there's no memory allocation oddities going on (like passing to a different thread that does IO buffering, which is initially why I thought it was being used. I needed a refreshing of Ockham's razor, I guess :-) .)

--
Eric Searcy
OSU Open Source Lab


Attachment: PGP.sig
Description: This is a digitally signed message part

_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to