]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Adjust errlist-compat to 257 for GLIBC_2.12
authorCarlos O'Donell <carlos@systemhalted.org>
Mon, 1 Feb 2010 22:47:51 +0000 (17:47 -0500)
committerCarlos O'Donell <carlos@systemhalted.org>
Mon, 1 Feb 2010 22:54:59 +0000 (17:54 -0500)
Added definitions for EOWNERDEAD, ENOTRECOVERABLE
and ERFKILL.

ChangeLog.hppa
sysdeps/unix/sysv/linux/hppa/Versions
sysdeps/unix/sysv/linux/hppa/bits/errno.h

index be0a71a91d0c60619e56edfd20e173a682c42c71..4ccc1df435e64a72b818c22176a736ce152d709b 100644 (file)
@@ -1,3 +1,12 @@
+2010-02-01  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * sysdeps/unix/sysv/linux/hppa/Versions: Bump
+       errlist-compat to 257 for GLIBC_2.12.
+       * sysdeps/unix/sysv/linux/hppa/bits/errno.h
+       (EOWNERDEAD): Define if not already defined.
+       (ENOTRECOVERABLE): Likewise.
+       (ERFKILL): Likewise.
+
 2009-11-29  Carlos O'Donell  <carlos@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h:
index 3dbc9ac50d89152a4c8bfc028b19494f197cfa67..3bff6ec4fc4ec1e6fa0cf826a7d211d5ad668174 100644 (file)
@@ -23,6 +23,10 @@ libc {
   GLIBC_2.11 {
     fallocate64;
   }
+  GLIBC_2.12 {
+    #errlist-compat    257
+    _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
+  }
 }
 librt {
   GLIBC_2.3 {
index 003d71f6228583c66e86e659e464cf429535e362..742448dd4ec4b1bae804d2ec2cd9768f37d4f207 100644 (file)
 #  define ECANCELED    ECANCELLED
 # endif
 
+# ifndef EOWNERDEAD
+#  define EOWNERDEAD           254
+# endif
+
+# ifndef ENOTRECOVERABLE 
+#  define ENOTRECOVERABLE      255
+# endif
+
+# ifndef ERFKILL
+#  define ERFKILL              256 
+# endif
+
 # ifndef __ASSEMBLER__
 /* Function to get address of global `errno' variable.  */
 extern int *__errno_location (void) __THROW __attribute__ ((__const__));