From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11198 invoked by alias); 20 May 2014 12:32:12 -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 11185 invoked by uid 89); 20 May 2014 12:32:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: ptmx.org From: =?ISO-8859-1?Q?R=FCdiger?= Sonderfeld To: "Joseph S. Myers" Cc: Paul Eggert , libc-alpha@sourceware.org Subject: Re: [RFC][PATCH v2] Add reallocarray function. Date: Tue, 20 May 2014 12:50:00 -0000 Message-ID: <1605307.hPebLlPzHB@descartes> User-Agent: KMail/4.13 (Linux/3.13.0-24-generic; KDE/4.13.0; x86_64; ; ) In-Reply-To: References: <5379208F.8030000@cs.ucla.edu> <2080621.6fAB4UMNoY@descartes> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-SW-Source: 2014-05/txt/msg00532.txt.bz2 On Monday 19 May 2014 15:02:52 Joseph S. Myers wrote: > How has this patch been tested? This function declaration needs > conditioning on __USE_GNU, as no standard includes this function in > ; I'd have expected you to get failures of the conform/ tests > for stdlib.h when you ran the testsuite. Yes, I got failures in the conform tests. (I also hit some nptl errors but= I=20 guess they are unrelated). I've added the __USE_GNU check to stdlib.h. I= =20 assume this is not necessary for malloc.h since malloc.h is not a standard= =20 header? I'll send and updated patch to the mailing list. But I wonder if there is any general interest or objections to adding the=20 `reallocarray' function to glibc? Regards, R=C3=BCdiger