Stefan Teleman writes:
> On Thursday 22 March 2007 18:23, Joerg Schilling wrote:
> 
> > > The dirfd( ) function may fail if:
> > > [EINVAL] The dirp argument does not refer to a valid directory
> > > stream.
> >
> > May is not "must" ;-)
> 
> It isn't "can't" or "shouldtn't" either.

Right, but testing for NULL is still wrong, for the reasons cited
before.  Chief among them is that it allows poorly-written
applications to plow ahead and do additional damage.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to