This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Only declare sys_errlist and sys_nerr on `linux' targets


On Wed, Jul 31, 2002 at 06:04:50PM -0400, Roland McGrath wrote:

> That looks ok to me.  An alternate approach I almost finished
> implementing is to define some macro in bits/stdio_lim.h and use #if
> on that in stdio.h.  That saves adding a file, but is a bit more
> crufty.

I considered trying to add it to bits/stdio_lim.h but I prefered this
approach for two reasons:

1) While sys_nerr is a good fit for stdio_lim, sys_errlist is not.
The way I've implemented it makes it obvious where to look.

2) I wanted a distinct file so that when the time comes to remove this
functionality from GNU/Linux that it's trivial to do so.

Tks,
Jeff Bailey

-- 
I reincarnated for this?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]