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: TAMUKI Shoichi <tamuki at linet dot gr dot jp>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: Rafal Luzynski <digitalfreak at lingonborough dot com>, libc-alpha at sourceware dot org
- Date: Tue, 08 Jan 2019 18:06:54 +0900
- Subject: Re: [PATCH v4] Improve the width of alternate representation for year in strftime [BZ #23758]
- References: <alpine.DEB.2.21.1901071622470.3611@digraph.polyomino.org.uk>
Hello Joseph,
From: Joseph Myers <joseph@codesourcery.com>
Subject: Re: [PATCH v4] Improve the width of alternate representation for year in strftime [BZ #23758]
Date: Mon, 7 Jan 2019 16:23:48 +0000
> > > 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.
Thank you for the information.
Using the array_length macro, I confirmed the testsuite succesfully
runs. I will apply this to the next patch.
Regards,
TAMUKI Shoichi