Date: Wed, 17 Oct 2001 00:17:37 -0400 From: Brian T.Schellenberger <bts@babbleon.org> To: "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu>, Nate Williams <nate@yogotech.com> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: setenv() cores with NULL value [was Re: Gdm proplem on 4.4] Message-ID: <01101700173701.00543@i8k.babbleon.org> In-Reply-To: <5190000.1003250950@hilfy.ece.cmu.edu> References: <200110160353.f9G3rO728525@harmony.village.org> <15308.25432.608079.646993@nomad.yogotech.com> <5190000.1003250950@hilfy.ece.cmu.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 16 October 2001 12:49, Brandon S. Allbery KF8NH wrote:
> On Tuesday, October 16, 2001 10:42:00 -0600, Nate Williams
> <nate@yogotech.com> wrote:
> +-----
>
> | printf("%s", "");
> | printf("%s", NULL);
> |
> | The first will work, the second will dump core. The second has never
> | worked, and should never work.
>
> +--->8
>
> FWIW, Xenix's printf() would print "(null)" in the second case. (Not that
> this should be an argument for it being acceptable.)
. . . and on the VAX, there was a system option (CPU bit) for whether reading
from the zero page gave a zero or a violation . . . but this is again just
history . . . aand what is this discussion doing in stable anyway?
--
Brian T. Schellenberger . . . . . . . bts@wnt.sas.com (work)
Brian, the man from Babble-On . . . . bts@babbleon.org (personal)
http://www.babbleon.org
-------> Free Dmitry Sklyarov! (let him go home) <-----------
http://www.eff.org http://www.programming-freedom.org
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?01101700173701.00543>
