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

Re: gcc and mint-libs PL46



In <2fd6450431530c1@anuurn.do.open.de>, Martin Koehling wrote:

> OTOH, there *are* libraries out there that *do* check for NULL filename
> pointers - for maximum portability, the MiNTlib should do so, too!

I think you're confusing library and OS. Some unices map page 0 to a
memory page containing 0's, so NULL pointers are the same as "". This
used to be the case under NetBSD/FreeBSD, but has been changed, since
it's not very helpfull for programmers trying to locate bugs.


Waldi