strftime format checking patch
Jeffrey A Law
law@cygnus.com
Tue Aug 22 07:03:00 GMT 2000
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
More information about the Gcc-patches
mailing list