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

Re: gcc and mint-libs PL46



> Bug in the mint libs (PL46)?
> 
> Try:
> 
> 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.

Bye,
        Jens.
--
Internet: jensk@hpbbn.bbn.hp.com   Phone: (0|+49)7031-14-4785 (TELNET 778-4785)
MausNet:  Jens Kilian @ BB         Fax:   (0|+49)7031-14-2049
PGP:      06 04 1C 35 7B DC 1F 26  As the air to a bird, or the sea to a fish,
          BB A2 F0 66 77 75 E1 08  so is contempt to the contemptible. [Blake]