Re: svn commit: r196752 - head/lib/libc/stdtime

[ Available lists | Index of svn-src-head | Month of Sep 2009 | Week of 3 Sep 2009 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Simon L. Nielsen <simon@FreeBSD.org>
Date
3 Sep 2009 09:32:06
Subject
Re: svn commit: r196752 - head/lib/libc/stdtime
Message-ID
20090903093205.GB1304@zaphod.nitro.dk


[ Hide this part ]
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


Elapsed time: 0.207 seconds