This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: strftime format checking adjustment
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: strftime format checking adjustment
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 06 Sep 2000 19:31:53 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <Pine.LNX.4.21.0009021825380.15618-100000@kern.srcf.societies.cam.
ac.uk>you write:
> The handling of the strftime # format flag (a GNU extension) has been
> made more consistent in glibc, which means that GCC should now allow
> %#b and %#h. This patch changes GCC and the relevant test
> accordingly.
>
> Bootstrapped with no regressions on i686-pc-linux-gnu. OK to commit?
>
> gcc/ChangeLog:
> 2000-09-02 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * c-common.c (time_char_table): Allow %#b and %#h.
>
> gcc/testsuite/ChangeLog:
> 2000-09-02 Joseph S. Myers <jsm28@cam.ac.uk>
>
> * gcc.dg/format-ext-3.c: Test %#b and %#h as formats that should
> be accepted.
This is fine. Please install this patch.
Thanks,
jeff