On Mon, 17 Aug 2009 08:46:58 +0700 Mikhail Gusarov <[email protected]>
said:

> 
> Twas brillig at 11:30:24 17.08.2009 UTC+10 when [email protected] did gyre
> and gimble:
> 
>  CHR> On Mon, 17 Aug 2009 04:44:51 +0700 Mikhail Gusarov
>  CHR> <[email protected]> said:
> 
>  >> Is it ok to pass NULL parameters to ecore_evas_title_set /
>  >> ecore_evas_name_class_set? If yes, what's the expected reaction of
>  >> backend? Should it treat NULL parameters as empty strings or somehow
>  >> else?
> 
>  CHR> NULL. bad. use "" <- empty title string.
> 
> == segfault if someone passes NULL accidentally. Is it acceptable?

strcpy will segv if u pass a NULL string in. :) as will pretty much every str*
call.

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to