svn commit: r196752 - head/lib/libc/stdtime
Simon L. Nielsen
simon at FreeBSD.org
Thu Sep 3 09:32:06 UTC 2009
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
More information about the svn-src-all
mailing list