Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 25 Jun 2012 20:09:35 +0800
From: orc <orc@...server.ru>
To: musl@...ts.openwall.com
Subject: Re: Hello

On Fri, 22 Jun 2012 21:51:07 -0400
Rich Felker <dalias@...ifal.cx> wrote:

> On Fri, Jun 22, 2012 at 09:43:13PM -0400, idunham@...abit.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
> 
> I'm surprised glibc has it though; I thought it was really BSD-only.

glibc has no fgetln(), and Xorg uses getline if building with glibc:

#ifdef __GLIBC__
            while ((read = getline(&line, &len, fp)) != -1) {
#else
            while ((line = fgetln(fp, &len)) != (char *)NULL) {
#endif /* __GLIBC __ */

(in xorg-server-1.11.2/hw/xfree86/common/xf86pciBus.c)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.