From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1223 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Hello Date: Fri, 22 Jun 2012 21:51:07 -0400 Message-ID: <20120623015106.GB544@brightrain.aerifal.cx> References: <20120607200123.402a1672@sibserver.ru> <4FD0A902.6070108@barfooze.de> <20120607231831.66c78c33@sibserver.ru> <20120620152938.6073a08b@sibserver.ru> <38795.132.241.65.253.1340415793.squirrel@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: dough.gmane.org 1340416795 19828 80.91.229.3 (23 Jun 2012 01:59:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Jun 2012 01:59:55 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1224-gllmg-musl=m.gmane.org@lists.openwall.com Sat Jun 23 03:59:54 2012 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 1SiFdh-000210-Ij for gllmg-musl@plane.gmane.org; Sat, 23 Jun 2012 03:59:53 +0200 Original-Received: (qmail 25797 invoked by uid 550); 23 Jun 2012 01:59:53 -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 25788 invoked from network); 23 Jun 2012 01:59:53 -0000 Content-Disposition: inline In-Reply-To: <38795.132.241.65.253.1340415793.squirrel@lavabit.com> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:1223 Archived-At: On Fri, Jun 22, 2012 at 09:43:13PM -0400, idunham@lavabit.com wrote: > DRI is for HW acceleration, and is provided by Mesa. > > - Needs to fix certain glibc-only assumptions, like selecting > > fgetln() instead of getline() and fixing nonexistent __uid_t Hmm, I've been thinking about adding fgetln. It's a really nice BSD interface that's something like a more-efficient version of getline (it can return a pointer into the buffer when possible) and the junk I just added to make gnulib happy (which is slightly more powerful but more of a pain for apps to use). I'm surprised glibc has it though; I thought it was really BSD-only. > > and __gid_t defines. > I've been working (occasionally) on an "uncdef" script to fix this sort of > problem. What I'd like to do longterm is provide something that can > automatically generate a patch (copy the tree, change, save diff). What about using the existing git repo if it's there, and if not, running git init and and initial checkin then git diff? That seems easier than scripting your own copy of the whole tree to make diffs, but maybe it's too heavy-weight for your taste. Rich