This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: ECANCELED, errlist.c (was Re: FreeBSD port (11): a new errno)
On Aug 27, 2002, Alexandre Oliva <aoliva@redhat.com> wrote:
> On Aug 27, 2002, Roland McGrath <roland@frob.com> wrote:
>> Index: sysdeps/gnu/Versions
>> + GLIBC_2.3 {
>> + #errlist-compat 126
>> + _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
>> + }
>> +}
> Any reason why you're setting this limit so low? Both alpha and mips
> have higher values of errno that would cause the build to break. I
> guess even for GLIBC_2.2 you'd need it higher, and perhaps even 2.1.
Oh, and where is the definition of __WORDSIZE in errlist-compat.c
supposed to come from? It just won't build for me right now
(mips-linux). How about #including <bits/wordsize.h> just before
errlist-compat.c in errlist.c?
Index: ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* sysdeps/gnu/errlist.c: Include bits/wordsize.h before
errlist-compat.c.
Index: sysdeps/gnu/errlist.c
*** sysdeps/gnu/errlist.c.~1.26.~ 2002-08-27 09:32:08.000000000 -0300
--- sysdeps/gnu/errlist.c 2002-08-27 12:26:08.000000000 -0300
***************
*** 1406,1411 ****
--- 1406,1412 ----
= sizeof _sys_errlist_internal / sizeof _sys_errlist_internal [0];
#if !defined NOT_IN_libc && !ERRLIST_NO_COMPAT
+ # include <bits/wordsize.h>
# include "errlist-compat.c"
#endif
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer