[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gnulib] PING: strftime bugs

From: Eric Blake
Subject: [bug-gnulib] PING: strftime bugs
Date: Wed, 16 Feb 2005 07:09:24 -0700
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

It's been a while, any comments on this patch?  I don't have write access,
so someone else will have to review and apply it.  Should I also file it
upstream with glibc?

According to Eric Blake on 2/5/2005 6:56 AM:
> 2005-02-05  Eric Blake  <address@hidden>  (tiny change)
>       * strftime.c (my_strftime): For 'y', accomodate negative years
>       with tm_year < -TM_YEAR_BASE.  For 'C', avoid overflow and
>       accomdate negative years, and have 2-character minimum.  For
>       'Y', avoid overflow by using a subformat.  For 'Z', avoid
>       exceeding bounds of tzname.  For 'c' and 'F', avoid double
>       recursion from "%Y".  Note that 'V', 'g', and 'G' still suffer
>       from overflow.

Life is short - so eat dessert first!

Eric Blake             address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]