[PATCH v4] Improve the width of alternate representation for year in strftime [BZ #23758]

TAMUKI Shoichi tamuki@linet.gr.jp
Tue Jan 8 09:08:00 GMT 2019


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



More information about the Libc-alpha mailing list