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

Re: gcc and mint-libs PL46



>> fopen( NULL, "r" );
>> 
>> Results in a Bus Error.
>
>Dereferencing a NULL pointer is not portable, so it's not a library bug.
>You'll get the same result on many UNIX systems.

But it could be argued the fopen library code should check for a NULL
filename and return a NULL pointer.

Chris