This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v4] Improve the width of alternate representation for year in strftime [BZ #23758]
- From: Joseph Myers <joseph at codesourcery dot com>
- To: TAMUKI Shoichi <tamuki at linet dot gr dot jp>
- Cc: Rafal Luzynski <digitalfreak at lingonborough dot com>, <libc-alpha at sourceware dot org>
- Date: Mon, 7 Jan 2019 16:23:48 +0000
- Subject: Re: [PATCH v4] Improve the width of alternate representation for year in strftime [BZ #23758]
- References: <1171971086.574322.1545990690594@poczta.nazwa.pl> <201901060628.AA04155@tamuki.linet.gr.jp>
On Sun, 6 Jan 2019, TAMUKI Shoichi wrote:
> > I think we already have a macro to calculate the number of elements
> > in the array but I don't remember its name at the moment.
>
> As a result of searching the Glibc source tree as follows, it seems
> that there are many cases that we prepare the current situation on our
> own. I could not find a generic macro.
It's array_length in array_length.h.
--
Joseph S. Myers
joseph@codesourcery.com