From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2808 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: fgetgrent Date: Sun, 17 Feb 2013 13:50:24 -0500 Message-ID: <20130217185024.GG20323@brightrain.aerifal.cx> References: <20130201071053.GA14593@brightrain.aerifal.cx> <20130201182340.c60061b6.idunham@lavabit.com> <20130202023833.GW20323@brightrain.aerifal.cx> <20130201211404.55e1589f.idunham@lavabit.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1361127036 23240 80.91.229.3 (17 Feb 2013 18:50:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 17 Feb 2013 18:50:36 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2809-gllmg-musl=m.gmane.org@lists.openwall.com Sun Feb 17 19:50:58 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1U79KD-00066J-7V for gllmg-musl@plane.gmane.org; Sun, 17 Feb 2013 19:50:57 +0100 Original-Received: (qmail 17988 invoked by uid 550); 17 Feb 2013 18:50:36 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 17978 invoked from network); 17 Feb 2013 18:50:36 -0000 Content-Disposition: inline In-Reply-To: <20130201211404.55e1589f.idunham@lavabit.com> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:2808 Archived-At: On Fri, Feb 01, 2013 at 09:14:04PM -0800, Isaac Dunham wrote: > On Fri, 1 Feb 2013 21:38:33 -0500 > Rich Felker wrote: > > > > Add fgetgrent (for heirloom-pkgtools) (patch same as the last > > > time I sent it) > > > > I'll look at it again. > > It would be possible to implement getgrent as a wrapper for > __fgetgrent, if that shrinks code size for a worthwhile amount. Committed, with minor changes. I didn't make the wrapper changes we talked about since I was slightly worried it might break programs that expect getgrent and fgetgrent not to clobber each other; I have no idea if such programs exist. I did move it to a separate file though to prevent pulling in more text/bss than necessary in static programs. Rich