This is the mail archive of the
mailing list for the libstdc++ project.
Re: [RFC] In do_get_time, %S from 0 to 59, or 60, or even 61?!?
- From: Carlo Wood <carlo at alinoe dot com>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: Fri, 27 Aug 2004 15:09:58 +0200
- Subject: Re: [RFC] In do_get_time, %S from 0 to 59, or 60, or even 61?!?
- References: <412F12FB.email@example.com>
Even accepting 61 seems fine.
Why would one want to reject it? I can't think of a program that
stops working when you DON'T reject it (that isn't already broken
in its design). Rejecting a value of 2004 makes sense, but well.
I agree that accepting 60 is almost a must.
On Fri, Aug 27, 2004 at 12:54:51PM +0200, Paolo Carlini wrote:
> the C99 standard is very clear about the leap-second issue that leads to
> 60 being also. Shall we at least accept 60 too? I'm tempted to think so, since
Carlo Wood <firstname.lastname@example.org>