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

[Commits] r17970 - in /fsf/trunk/libc: ./ manual/ math/ sysdeps/i386/i686/ sysdeps/ieee754/dbl-64/ sysdeps/x86_64/



Author: eglibc
Date: Mon Apr  9 00:02:05 2012
New Revision: 17970

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

Modified:
    fsf/trunk/libc/ChangeLog
    fsf/trunk/libc/NEWS
    fsf/trunk/libc/manual/.gitignore
    fsf/trunk/libc/manual/filesys.texi
    fsf/trunk/libc/manual/llio.texi
    fsf/trunk/libc/manual/startup.texi
    fsf/trunk/libc/manual/syslog.texi
    fsf/trunk/libc/math/libm-test.inc
    fsf/trunk/libc/sysdeps/i386/i686/memset_chk.S
    fsf/trunk/libc/sysdeps/ieee754/dbl-64/w_exp.c
    fsf/trunk/libc/sysdeps/x86_64/memset_chk.S

Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Mon Apr  9 00:02:05 2012
@@ -1,3 +1,43 @@
+2012-04-08  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
+	[BZ #13705]
+	* math/libm-test.inc (exp_test): Do not allow overflow exception
+	on underflow test.
+
+2012-04-08  Aurelien Jarno  <aurelien@xxxxxxxxxxx>
+
+	[BZ #13705]
+	* sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
+	instead of __kernel_standard_f.
+
+2012-04-08  Mike Frysinger  <vapier@xxxxxxxxxx>
+
+	* sysdeps/i386/i686/memset_chk.S: Update copyright year.
+	* sysdeps/x86_64/memset_chk.S: Likewise.
+
+2012-04-08  Andreas Jaeger  <aj@xxxxxxx>
+
+	[BZ #10153]
+	* manual/startup.texi (Environment Access): Describe return value
+	for putenv and setenv.
+
+	[BZ #6895]
+	* manual/filesys.texi (Directory Entries): Add description for
+	DT_LNK.
+
+	[BZ #6890]
+	* manual/filesys.texi (Directory Entries): Clarify that it's file
+	system not operating system in the description of DT_UNKNOWN.
+
+	[BZ #6578]
+	* manual/syslog.texi (closelog): Fix reference, it's openlog.
+
+2012-04-08  Stephen Compall  <s11@xxxxxxxxxxxxxx>
+
+	[BZ #6649]
+	* manual/llio.texi (Opening and Closing Files): Add cross
+	reference to explain mode argument.
+
 2012-04-07  Mike Frysinger  <vapier@xxxxxxxxxx>
 
 	* sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.

Modified: fsf/trunk/libc/NEWS
==============================================================================
--- fsf/trunk/libc/NEWS (original)
+++ fsf/trunk/libc/NEWS Mon Apr  9 00:02:05 2012
@@ -11,15 +11,16 @@
 
   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, 6486, 6730, 6770, 6884, 6907, 6911,
-  9739, 9902, 10110, 10135, 10140, 10210, 10346, 10545, 10716, 11174, 11322,
-  11365, 11451, 11494, 12047, 12340, 13058, 13525, 13526, 13527, 13528,
-  13529, 13530, 13531, 13532, 13533, 13547, 13551, 13552, 13553, 13555,
-  13559, 13566, 13583, 13592, 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, 13895, 13908, 13910, 13911, 13912, 13913, 13915, 13916,
-  13917, 13918, 13919, 13920, 13921, 13926, 13928, 13938
+  4822, 5077, 5461, 5805, 5993, 6471, 6486, 6578, 6649, 6730, 6770, 6884,
+  6890, 6895, 6907, 6911, 9739, 9902, 10110, 10135, 10140, 10153, 10210,
+  10346, 10545, 10716, 11174, 11322, 11365, 11451, 11494, 12047, 12340,
+  13058, 13525, 13526, 13527, 13528, 13529, 13530, 13531, 13532, 13533,
+  13547, 13551, 13552, 13553, 13555, 13559, 13566, 13583, 13592, 13618,
+  13637, 13656, 13658, 13673, 13691, 13695, 13704, 13705, 13706, 13726,
+  13738, 13760, 13761, 13786, 13792, 13806, 13824, 13840, 13841, 13844,
+  13846, 13851, 13852, 13854, 13871, 13879, 13883, 13892, 13895, 13908,
+  13910, 13911, 13912, 13913, 13915, 13916, 13917, 13918, 13919, 13920,
+  13921, 13926, 13928, 13938
 
 * ISO C11 support:
 

Modified: fsf/trunk/libc/manual/.gitignore
==============================================================================
--- fsf/trunk/libc/manual/.gitignore (original)
+++ fsf/trunk/libc/manual/.gitignore Mon Apr  9 00:02:05 2012
@@ -27,3 +27,4 @@
 summary.texi
 texis
 top-menu.texi
+version.texi

Modified: fsf/trunk/libc/manual/filesys.texi
==============================================================================
--- fsf/trunk/libc/manual/filesys.texi (original)
+++ fsf/trunk/libc/manual/filesys.texi Mon Apr  9 00:02:05 2012
@@ -257,7 +257,8 @@
 
 @vtable @code
 @item DT_UNKNOWN
-The type is unknown.  On some systems this is the only value returned.
+The type is unknown.  Only some filesystems have full support to
+return the type of the file, others might always return this value.
 
 @item DT_REG
 A regular file.
@@ -276,6 +277,9 @@
 
 @item DT_BLK
 A block device.
+
+@item DT_LNK
+A symbolic link.
 @end vtable
 
 This member is a BSD extension.  The symbol @code{_DIRENT_HAVE_D_TYPE}

Modified: fsf/trunk/libc/manual/llio.texi
==============================================================================
--- fsf/trunk/libc/manual/llio.texi (original)
+++ fsf/trunk/libc/manual/llio.texi Mon Apr  9 00:02:05 2012
@@ -78,11 +78,11 @@
 @comment fcntl.h
 @comment POSIX.1
 @deftypefun int open (const char *@var{filename}, int @var{flags}[, mode_t @var{mode}])
-The @code{open} function creates and returns a new file descriptor
-for the file named by @var{filename}.  Initially, the file position
+The @code{open} function creates and returns a new file descriptor for
+the file named by @var{filename}.  Initially, the file position
 indicator for the file is at the beginning of the file.  The argument
-@var{mode} is used only when a file is created, but it doesn't hurt
-to supply the argument in any case.
+@var{mode} (@pxref{Permission Bits}) is used only when a file is
+created, but it doesn't hurt to supply the argument in any case.
 
 The @var{flags} argument controls how the file is to be opened.  This is
 a bit mask; you create the value by the bitwise OR of the appropriate

Modified: fsf/trunk/libc/manual/startup.texi
==============================================================================
--- fsf/trunk/libc/manual/startup.texi (original)
+++ fsf/trunk/libc/manual/startup.texi Mon Apr  9 00:02:05 2012
@@ -335,6 +335,9 @@
 interpreted as the name of an environment variable, and any definition
 for this variable in the environment is removed.
 
+If the function is successful it returns @code{0}.  Otherwise the return
+value is nonzero and @code{errno} is set to indicate the error.
+
 The difference to the @code{setenv} function is that the exact string
 given as the parameter @var{string} is put into the environment.  If the
 user should change the string after the @code{putenv} call this will
@@ -364,6 +367,10 @@
 
 Please note that you cannot remove an entry completely using this function.
 
+If the function is successful it returns @code{0}.  Otherwise the
+environment is unchanged and the return value is @code{-1} and
+@code{errno} is set.
+
 This function was originally part of the BSD library but is now part of
 the Unix standard.
 @end deftypefun

Modified: fsf/trunk/libc/manual/syslog.texi
==============================================================================
--- fsf/trunk/libc/manual/syslog.texi (original)
+++ fsf/trunk/libc/manual/syslog.texi Mon Apr  9 00:02:05 2012
@@ -435,7 +435,7 @@
 @xref{openlog}.
 
 @code{closelog} does not flush any buffers.  You do not have to call
-@code{closelog} before re-opening a Syslog connection with @code{initlog}.
+@code{closelog} before re-opening a Syslog connection with @code{openlog}.
 Syslog connections are automatically closed on exec or exit.
 
 @end deftypefun

Modified: fsf/trunk/libc/math/libm-test.inc
==============================================================================
--- fsf/trunk/libc/math/libm-test.inc (original)
+++ fsf/trunk/libc/math/libm-test.inc Mon Apr  9 00:02:05 2012
@@ -3003,8 +3003,7 @@
 
   /* Bug 13922: OVERFLOW exception may be missing.  */
   TEST_f_f (exp, max_value, plus_infty, OVERFLOW_EXCEPTION_OK);
-  /* Bug 13705: spurious OVERFLOW exception may be present.  */
-  TEST_f_f (exp, -max_value, 0, OVERFLOW_EXCEPTION_OK);
+  TEST_f_f (exp, -max_value, 0);
 
   END (exp);
 }

Modified: fsf/trunk/libc/sysdeps/i386/i686/memset_chk.S
==============================================================================
--- fsf/trunk/libc/sysdeps/i386/i686/memset_chk.S (original)
+++ fsf/trunk/libc/sysdeps/i386/i686/memset_chk.S Mon Apr  9 00:02:05 2012
@@ -1,5 +1,5 @@
 /* Checking memset for i686.
-   Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2005, 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

Modified: fsf/trunk/libc/sysdeps/ieee754/dbl-64/w_exp.c
==============================================================================
--- fsf/trunk/libc/sysdeps/ieee754/dbl-64/w_exp.c (original)
+++ fsf/trunk/libc/sysdeps/ieee754/dbl-64/w_exp.c Mon Apr  9 00:02:05 2012
@@ -31,12 +31,12 @@
   if (__builtin_expect (isgreater (x, o_threshold), 0))
     {
       if (_LIB_VERSION != _IEEE_)
-	return __kernel_standard_f (x, x, 6);
+	return __kernel_standard (x, x, 6);
     }
   else if (__builtin_expect (isless (x, u_threshold), 0))
     {
       if (_LIB_VERSION != _IEEE_)
-	return __kernel_standard_f (x, x, 7);
+	return __kernel_standard (x, x, 7);
     }
 
   return __ieee754_exp (x);

Modified: fsf/trunk/libc/sysdeps/x86_64/memset_chk.S
==============================================================================
--- fsf/trunk/libc/sysdeps/x86_64/memset_chk.S (original)
+++ fsf/trunk/libc/sysdeps/x86_64/memset_chk.S Mon Apr  9 00:02:05 2012
@@ -1,5 +1,5 @@
 /* Checking memset for x86-64.
-   Copyright (C) 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 2004, 2005, 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

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