Only declare sys_errlist and sys_nerr on `linux' targets

Ulrich Drepper drepper@redhat.com
Wed Jul 31 16:01:00 GMT 2002


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 agree.

> I would like to put one of these two changes in (to 2.2 as well) if others
> agree.

Feel free to do it.  It's an error.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-alpha mailing list