[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commits] r18124 - in /fsf/trunk/libc: ChangeLog sysdeps/gnu/errlist-compat.awk sysdeps/unix/sysv/linux/Versions



Author: eglibc
Date: Fri Apr 20 00:02:08 2012
New Revision: 18124

Log:
Import glibc-mainline for 2012-04-20

Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/sysdeps/gnu/errlist-compat.awk
    fsf/trunk/libc/sysdeps/unix/sysv/linux/Versions

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Fri Apr 20 00:02:08 2012
@@ -1,3 +1,10 @@
+2012-04-19  Andreas Schwab  <schwab@xxxxxxxxxxxxxx>
+
+	* sysdeps/gnu/errlist-compat.awk (END): Correct computation of
+	ERR_MAX value.
+	* sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
+	errlist-compat value.
+
 2012-04-18  David S. Miller  <davem@xxxxxxxxxxxxx>
 
 	* sysdeps/generic/memcopy.h (reg_char): Delete.

Modified: fsf/trunk/libc/sysdeps/gnu/errlist-compat.awk
==============================================================================
--- fsf/trunk/libc/sysdeps/gnu/errlist-compat.awk (original)
+++ fsf/trunk/libc/sysdeps/gnu/errlist-compat.awk Fri Apr 20 00:02:08 2012
@@ -1,5 +1,5 @@
 # awk script to generate errlist-compat.c
-# Copyright (C) 2002, 2004, 2006 Free Software Foundation, Inc.
+# Copyright (C) 2002-2012 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -81,7 +81,7 @@
   if (highest > count) {
     printf "*** errlist.c count %d inflated to %s count %d (old errno.h?)\n", \
       count, highest_version, highest > "/dev/stderr";
-    printf "#define ERR_MAX %d\n\n", highest;
+    printf "#define ERR_MAX %d\n\n", highest - 1;
   }
 
   # same regardless of awk's ordering of the associative array.

Modified: fsf/trunk/libc/sysdeps/unix/sysv/linux/Versions
==============================================================================
--- fsf/trunk/libc/sysdeps/unix/sysv/linux/Versions (original)
+++ fsf/trunk/libc/sysdeps/unix/sysv/linux/Versions Fri Apr 20 00:02:08 2012
@@ -142,7 +142,7 @@
     fallocate;
   }
   GLIBC_2.12 {
-    #errlist-compat	134
+    #errlist-compat	135
     _sys_errlist; sys_errlist; _sys_nerr; sys_nerr;
 
     ntp_gettimex;

_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits