[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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





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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]