[GRASS-dev] [grass-code I][455] r.proj segfaults after Jul 14 changes

Hamish hamish_nospam at yahoo.com
Sat Aug 11 21:44:55 EDT 2007


> > 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?
Hamish:
> > 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.
William:
> 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.


Sorry, what I meant was it is valid for G_done_msg() to have an empty string as
its argument, not that the empty string could be sent as NULL.


Hamish



       
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  




More information about the grass-dev mailing list