From owner-freebsd-stable Tue Oct 16 6:39:55 2001 Delivered-To: freebsd-stable@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 77A0837B40A for ; Tue, 16 Oct 2001 06:39:53 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f9GDdpV09702; Tue, 16 Oct 2001 07:39:52 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id f9GDdo731450; Tue, 16 Oct 2001 07:39:51 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200110161339.f9GDdo731450@harmony.village.org> To: Matthew Emmerton Subject: Re: setenv() cores with NULL value [was Re: Gdm proplem on 4.4] Cc: Zero Sum , cjclark@alum.mit.edu, "Crist J. Clark" , Heath Nielson , David Marker , freebsd-stable@FreeBSD.ORG In-reply-to: Your message of "Tue, 16 Oct 2001 08:27:06 EDT." References: Date: Tue, 16 Oct 2001 07:39:50 -0600 From: Warner Losh Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message 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