[GRASS-dev] [grass-code I][455] r.proj segfaults after Jul 14
changes
Brad Douglas
rez at touchofmadness.com
Fri Aug 10 12:32:27 EDT 2007
On Fri, 2007-08-10 at 08:52 -0500, William Kyngesburye wrote:
> 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.
I'm opposed to adding largely unnecessary code. The console is NOT
designed for well laid out display. It is there for informational
purposes only. IMO, if you want pretty messages, use a GUI.
--
Brad Douglas <rez touchofmadness com> KB8UYR/6
Address: 37.493,-121.924 / WGS84 National Map Corps #TNMC-3785
More information about the grass-dev
mailing list