On Tue, 29 Nov 2011 17:11:18 -0500 Michael Blumenkrantz
<michael.blumenkra...@gmail.com> said:

> On Tue, 29 Nov 2011 18:03:01 +0200
> Tom Hacohen <tom.haco...@partner.samsung.com> wrote:
> 
> > On 29/11/11 15:44, Michael Blumenkrantz wrote:
> > > Those wd checks are bs. If any of those ever failed your app would go
> > > down in flames anyway.
> > 
> > That's what I said in my first reply, everything will break if malloc 
> > fails, so I don't think we check for malloc success.
> > 
> > --
> > Tom.
> > 
> We still do in libs.

allocations should be checked in libs - if an app chooses not to, that's its
problem (much better it checks though too).

if the allocation fails you unwind (return NULLS etc.) and then hope your
caller does that too and so on.


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to