Date: Thu, 3 Sep 2009 11:32:05 +0200 From: "Simon L. Nielsen" <simon@FreeBSD.org> To: Andrey Chernov <ache@nagual.pp.ru>, Dag-Erling Sm??rgrav <des@des.no>, src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org Subject: Re: svn commit: r196752 - head/lib/libc/stdtime Message-ID: <20090903093205.GB1304@zaphod.nitro.dk> In-Reply-To: <20090903084325.GA65192@nagual.pp.ru> References: <200909020456.n824uUqQ082136@svn.freebsd.org> <20090902070808.GA1290@arthur.nitro.dk> <20090902084002.GA17325@nagual.pp.ru> <867hwgcwvo.fsf@ds4.des.no> <20090903084325.GA65192@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2009.09.03 12:43:25 +0400, Andrey Chernov wrote: > On Thu, Sep 03, 2009 at 09:26:03AM +0200, Dag-Erling Sm??rgrav wrote: > > > > - The core dump ache refers to can occur with a na??ve implementation > > that uses a lookup table and checks for EOF, but not for other > > negative values. > > Thanx for detailed explanation. Just to note: even such naive > implemetations still live inside POSIX, since POSIX says that behaviour > outside of "unsigned char" range + exact EOF value is undefined. Thanks to both of you for the detailed explanation. Always good to learn something new :-). I haven't had time to review des's patch (I can tonight if "needed"), but I certainly welcome documenting this case more clearly :-). -- Simon L. Nielsen
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090903093205.GB1304>