From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2712 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: fgetgrent Date: Sat, 2 Feb 2013 00:32:29 -0500 Message-ID: <20130202053229.GY20323@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 1359783169 31578 80.91.229.3 (2 Feb 2013 05:32:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Feb 2013 05:32:49 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2713-gllmg-musl=m.gmane.org@lists.openwall.com Sat Feb 02 06:33:05 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 1U1Vim-0001Fg-1M for gllmg-musl@plane.gmane.org; Sat, 02 Feb 2013 06:33:00 +0100 Original-Received: (qmail 6022 invoked by uid 550); 2 Feb 2013 05:32:41 -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 6014 invoked from network); 2 Feb 2013 05:32:41 -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:2712 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. The bigger advantage would be that it avoids adding more crap in bss. The flip-side is that fgetgrent would clobber the results of getgrent, and vice versa. I'm not sure whether this is reasonable. Rich