The open() system call in f8 really broken...

Steve Dickson SteveD at redhat.com
Thu Aug 16 15:59:22 UTC 2007



Miloslav Trmac wrote:
> Steve Dickson napsal(a):
>> Again.. just fail the open and put the decision of what to do in the
>> hands of the app... where it belongs...
> The application has already _decided_ to crash by using invalid code.
No... glibc made the decision... without give the app any warning
or time to clean up... thats wrong.. imho...

> 
> If the code is invalid, how can you expect the application currently has
> error handling that _correctly_ handles the case of invalid open ()
> invocation?  There is no EBACKTOSCHOOL in <errno.h>.
Its not glibc's place (or anybody else) to make such judgments
on the ability of the application or the developer...

steved.




More information about the Fedora-maintainers mailing list