[GRASS-dev] [grass-code I] r.proj segfaults after Jul 14
woklist at kyngchaos.com
Fri Aug 10 15:52:35 CEST 2007
On Aug 9, 2007, at 5:46 PM, Hamish wrote:
> Paul Kelly wrote:
>> Well apart from passing NULL instead of an empty string being
>> 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>
"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
More information about the grass-dev