This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: strftime format checking patch
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: strftime format checking patch
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Tue, 22 Aug 2000 08:01:03 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <Pine.LNX.4.21.0008221434070.28231-100000@kern.srcf.societies.cam.
ac.uk>you write:
>
> gcc/ChangeLog:
> 2000-08-22 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * c-common.c (check_format_info): Give the 'some locales' warning
> for strftime %Ey rather than the unconditional 'only last 2 digits
> of year' one.
>
> gcc/testsuite/ChangeLog:
> 2000-08-22 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * gcc.dg/c90-strftime-2.c, gcc.dg/c99-strftime-1.c,
> gcc.dg/c99-strftime-2.c: New tests.
This is fine. Please install this patch.
Thanks,
jeff