On 01/05/2011 09:18 PM, Lucas De Marchi wrote: >> + if (errno) > > This is bad... you have to either zero errno before calling open() or check > the return value before. Since open() will not zero errno in case of > succees, doing like you did you're actually carrying whatever value errno > had.
Should users always zero errno before checking? Then this needs to be checked throughout efl. I remember a while ago someone actually removed errno = 0 in some code. Sebastian ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
