Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Oct 2001 07:39:50 -0600
From:      Warner Losh <imp@harmony.village.org>
To:        Matthew Emmerton <matt@gsicomp.on.ca>
Cc:        Zero Sum <count@shalimar.net.au>, cjclark@alum.mit.edu, "Crist J. Clark" <cristjc@earthlink.net>, Heath Nielson <heath@cs.byu.edu>, David Marker <marker_d@yahoo.com>, freebsd-stable@FreeBSD.ORG
Subject:   Re: setenv() cores with NULL value [was Re: Gdm proplem on 4.4] 
Message-ID:  <200110161339.f9GDdo731450@harmony.village.org>
In-Reply-To: Your message of "Tue, 16 Oct 2001 08:27:06 EDT." <Pine.BSF.4.21.0110160826180.16625-100000@xena.gsicomp.on.ca> 
References:  <Pine.BSF.4.21.0110160826180.16625-100000@xena.gsicomp.on.ca>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.21.0110160826180.16625-100000@xena.gsicomp.on.ca> Matthew Emmerton writes:
: I doubt that this was ever the case.  A null string and a null pointer are
: two different things entirely.  Treating them as equal would be wrong.

On a VAX running BSD, page 0 was mapped and did start with 0, so a
null string and a NULL pointer just happened to be functionally the
same.  But that was an accidental happinstance, and never specified in
any doc.  On a VAX running SYSV, they weren't equivolent as page 0
wasn't mapped.

Warner



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110161339.f9GDdo731450>