On Aug 9, 2007, at 5:46 PM, Hamish wrote:

Paul Kelly wrote:
Well apart from passing NULL instead of an empty string being obviously wrong, a message that actually contains no information would appear to be
improper use by definition, no? What's the point of it?

It's valid for G_done_msg(), it outputs like:
$MODULE complete. $*

with "", it just says "$MOD complete. " So passing a message is optional extra.

If it is intended to be optional for G_done_msg, then this needs to be fixed. It's the vsprintf(buffer,msg,ap); part in there that is causing trouble on OSX. If NULL is valid, then a check for NULL should be done before vsprintf is called.

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"This is a question about the past, is it? ... How can I tell that the past isn't a fiction designed to account for the discrepancy between my immediate physical sensations and my state of mind?"

- The Ruler of the Universe


_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to