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

[Commits] r17914 - in /fsf/trunk/libc: ./ localedata/ localedata/locales/ sysdeps/mach/hurd/ sysdeps/mach/i386/ sysdeps/mach/powerpc/



Author: eglibc
Date: Thu Apr  5 00:03:01 2012
New Revision: 17914

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

Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/NEWS
    fsf/trunk/libc/localedata/ChangeLog
    fsf/trunk/libc/localedata/locales/ru_UA
    fsf/trunk/libc/sysdeps/mach/hurd/ttyname_r.c
    fsf/trunk/libc/sysdeps/mach/i386/machine-lock.h
    fsf/trunk/libc/sysdeps/mach/powerpc/machine-lock.h

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Thu Apr  5 00:03:01 2012
@@ -1,6 +1,18 @@
+2012-04-05  Simon Josefsson  <simon@xxxxxxxxxxxxx>
+
+	[BZ #12340]
+	* sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
+	EINVAL when BUFLEN is too smal.
+
+2012-04-05  Thomas Schwinge  <thomas@xxxxxxxxxxxxxxxx>
+
+	[BZ #13553]
+	* sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
+	* sysdeps/mach/powerpc/machine-lock.h: Likewise.
+
 2012-04-03  Andreas Jaeger  <aj@xxxxxxx>
 
-	[BZ # 13938]
+	[BZ #13938]
 	* manual/setjmp.texi (System V contexts): Fix sentence.
 
 	[BZ #13926]

Modified: fsf/trunk/libc/NEWS
==============================================================================
--- fsf/trunk/libc/NEWS (original)
+++ fsf/trunk/libc/NEWS Thu Apr  5 00:03:01 2012
@@ -12,14 +12,14 @@
   174, 350, 369, 411, 2541, 2547, 2548, 2551, 2552, 2553, 2554, 2562, 2563,
   2565, 2566, 2576, 2678, 3335, 3866, 3868, 3976, 3992, 4026, 4108, 4596,
   4822, 5077, 5461, 5805, 5993, 6471, 6730, 6884, 6907, 6911, 9739, 9902,
-  10110, 10135, 10140, 10210, 10545, 10716, 11174, 11322, 11365, 11451,
-  11494, 12047, 13058, 13525, 13526, 13527, 13528, 13529, 13530, 13531,
-  13532, 13533, 13547, 13551, 13552, 13553, 13555, 13559, 13566, 13583,
-  13618, 13637, 13656, 13658, 13673, 13691, 13695, 13704, 13706, 13726,
-  13738, 13760, 13761, 13786, 13792, 13806, 13824, 13840, 13841, 13844,
-  13846, 13851, 13852, 13854, 13871, 13879, 13883, 13892, 13910, 13911,
-  13912, 13913, 13915, 13916, 13917, 13918, 13919, 13920, 13921, 13926,
-  13928, 13938
+  10110, 10135, 10140, 10210, 10346, 10545, 10716, 11174, 11322, 11365,
+  11451, 11494, 12047, 13058, 13525, 13526, 13527, 13528, 13529, 13530,
+  13531, 13532, 13533, 13547, 13551, 13552, 13553, 13555, 13559, 13566,
+  13583, 13618, 13637, 13656, 13658, 13673, 13691, 13695, 13704, 13706,
+  13726, 13738, 13760, 13761, 13786, 13792, 13806, 13824, 13840, 13841,
+  13844, 13846, 13851, 13852, 13854, 13871, 13879, 13883, 13892, 13910,
+  13911, 13912, 13913, 13915, 13916, 13917, 13918, 13919, 13920, 13921,
+  13926, 13928, 13938
 
 * ISO C11 support:
 

Modified: fsf/trunk/libc/localedata/ChangeLog
==============================================================================
--- fsf/trunk/libc/localedata/ChangeLog (original)
+++ fsf/trunk/libc/localedata/ChangeLog Thu Apr  5 00:03:01 2012
@@ -1,3 +1,8 @@
+2012-04-04  Dmitry V. Levin  <ldv@xxxxxxxxxxxx>
+
+	[BZ #10346]
+	* locales/ru_UA (LC_TIME): Add first_weekday and first_workday.
+
 2012-03-09  Paul Eggert  <eggert@xxxxxxxxxxx>
 
 	[BZ #13673]

Modified: fsf/trunk/libc/localedata/locales/ru_UA
==============================================================================
--- fsf/trunk/libc/localedata/locales/ru_UA (original)
+++ fsf/trunk/libc/localedata/locales/ru_UA Thu Apr  5 00:03:01 2012
@@ -141,6 +141,8 @@
 date_fmt       "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
 <U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
 <U0025><U005A><U0020><U0025><U0059>"
+first_weekday 2
+first_workday 2
 END LC_TIME
 
 LC_PAPER

Modified: fsf/trunk/libc/sysdeps/mach/hurd/ttyname_r.c
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/hurd/ttyname_r.c (original)
+++ fsf/trunk/libc/sysdeps/mach/hurd/ttyname_r.c Thu Apr  5 00:03:01 2012
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994,1995,1996,1998,2010 Free Software Foundation, Inc.
+/* Copyright (C) 1994-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
@@ -42,7 +42,7 @@
   len = strlen (nodename) + 1;
   if (len > buflen)
     {
-      errno = EINVAL;
+      errno = ERANGE;
       return errno;
     }
 

Modified: fsf/trunk/libc/sysdeps/mach/i386/machine-lock.h
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/i386/machine-lock.h (original)
+++ fsf/trunk/libc/sysdeps/mach/i386/machine-lock.h Thu Apr  5 00:03:01 2012
@@ -1,5 +1,5 @@
 /* Machine-specific definition for spin locks.  i386 version.
-   Copyright (C) 1994,1997,2007,2008 Free Software Foundation, Inc.
+   Copyright (C) 1994-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
@@ -21,7 +21,7 @@
 
 /* The type of a spin lock variable.  */
 
-typedef __volatile int __spin_lock_t;
+typedef volatile int __spin_lock_t;
 
 /* Value to initialize `__spin_lock_t' variables to.  */
 

Modified: fsf/trunk/libc/sysdeps/mach/powerpc/machine-lock.h
==============================================================================
--- fsf/trunk/libc/sysdeps/mach/powerpc/machine-lock.h (original)
+++ fsf/trunk/libc/sysdeps/mach/powerpc/machine-lock.h Thu Apr  5 00:03:01 2012
@@ -1,5 +1,5 @@
 /* Machine-specific definition for spin locks.  PowerPC version.
-   Copyright (C) 1994,97,2002,2007 Free Software Foundation, Inc.
+   Copyright (C) 1994-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
@@ -21,7 +21,7 @@
 
 /* The type of a spin lock variable.  */
 
-typedef __volatile long int __spin_lock_t;
+typedef volatile long int __spin_lock_t;
 
 /* Value to initialize `__spin_lock_t' variables to.  */
 

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