This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: [PATCH]: Fix Sparc errlist-compat


From: Jakub Jelinek <jakub@redhat.com>
Date: Tue, 27 Dec 2005 09:53:14 +0100

> This is ABI incompatible change, which really can't be done this way.
> If more error values are needed, they should be added at
> GLIBC_2.4 (likely not just on SPARC but on other arches as well).

My bad, that's what Uli did in the generic linux/Versions file.

This patch is better.

2005-12-27  David S. Miller  <davem@sunset.davemloft.net>

	* sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist-compat
	entry for up to 134 errnos.

Index: sysdeps/unix/sysv/linux/sparc/Versions
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/sparc/Versions,v
retrieving revision 1.1
diff -p -r1.1 Versions
*** sysdeps/unix/sysv/linux/sparc/Versions	28 Aug 2002 23:56:02 -0000	1.1
--- sysdeps/unix/sysv/linux/sparc/Versions	27 Dec 2005 09:08:46 -0000
*************** libc {
*** 16,21 ****
--- 16,25 ----
      #errlist-compat	128
      _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
    }
+   GLIBC_2.4 {
+     #errlist-compat	134
+     _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
+   }
  }
  librt {
    GLIBC_2.3 {


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