From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67243 invoked by alias); 8 Jan 2019 09:08:57 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 67203 invoked by uid 89); 8 Jan 2019 09:08:56 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=our X-HELO: mail.linet.jp Message-Id: <201901080906.AA04163@tamuki.linet.gr.jp> From: TAMUKI Shoichi Date: Tue, 08 Jan 2019 09:08:00 -0000 To: Joseph Myers Cc: Rafal Luzynski , libc-alpha@sourceware.org Subject: Re: [PATCH v4] Improve the width of alternate representation for year in strftime [BZ #23758] In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2019-01/txt/msg00182.txt.bz2 Hello Joseph, From: Joseph Myers 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