[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc and mint-libs PL46
"Chris Herborth" <chrish@qnx.com> writes:
|> A "bad filename" should be a recoverable error, no matter what that bad
|> filename was.
Sorry for nit picking, but NULL is not a bad filename, it's not a
filename at all. A filename is supposed to be a string, and NULL
isn't. I don't see the requirement for fopen or any other file
related function to behave gracefully if passed anything that isn't a
filename.
Andreas.