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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.14-83-g9895c8b


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  9895c8bc62759a2d7abf95654fb2aefe5677a930 (commit)
       via  56d4baf3bd18619983bbc9826ad4296a8067efc1 (commit)
       via  1de911c8747205999fb4528fcbca326a7afb2f25 (commit)
       via  17a21a3907cbbc731fed12eab8c50a21dc2d6ad3 (commit)
       via  d5032639a4a7e76213942f5d9c9ea20d2e35c01d (commit)
      from  960e5535b08ea358caefe8eb831aae36cc4826c5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=9895c8bc62759a2d7abf95654fb2aefe5677a930

commit 9895c8bc62759a2d7abf95654fb2aefe5677a930
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Wed Jul 6 20:57:55 2011 -0400

    Change error code for underflows in strtod

diff --git a/ChangeLog b/ChangeLog
index 38149a6..547cd4e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-22  Marek Polacek  <mpolacek@redhat.com>
+
+	[BZ #9696]
+	* stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
+
 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
 
 	* inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
diff --git a/NEWS b/NEWS
index 72e7176..1e1e220 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU C Library NEWS -- history of user-visible changes.  2011-6-28
+GNU C Library NEWS -- history of user-visible changes.  2011-7-6
 Copyright (C) 1992-2009, 2010, 2011 Free Software Foundation, Inc.
 See the end for copying conditions.
 
@@ -9,7 +9,7 @@ Version 2.15
 
 * The following bugs are resolved with this release:
 
-  12874, 12885, 12907, 12935
+  9696, 12874, 12885, 12907, 12935
 
 * New program pldd to list loaded object of a process
   Implemented by Ulrich Drepper.
diff --git a/stdlib/strtod_l.c b/stdlib/strtod_l.c
index 537d1fb..b3380fd 100644
--- a/stdlib/strtod_l.c
+++ b/stdlib/strtod_l.c
@@ -1,5 +1,5 @@
 /* Convert string representing a number to float value, using given locale.
-   Copyright (C) 1997,1998,2002,2004,2005,2006,2007,2008,2009,2010
+   Copyright (C) 1997,1998,2002,2004,2005,2006,2007,2008,2009,2010,2011
    Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -185,7 +185,7 @@ round_and_return (mp_limb_t *retval, int exponent, int negative,
 
       if (shift > MANT_DIG)
 	{
-	  __set_errno (EDOM);
+	  __set_errno (ERANGE);
 	  return 0.0;
 	}
 

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=56d4baf3bd18619983bbc9826ad4296a8067efc1

commit 56d4baf3bd18619983bbc9826ad4296a8067efc1
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Wed Jul 6 20:39:42 2011 -0400

    Fix typo in last patch

diff --git a/inet/getnetgrent_r.c b/inet/getnetgrent_r.c
index 91cdcce..6aaba7b 100644
--- a/inet/getnetgrent_r.c
+++ b/inet/getnetgrent_r.c
@@ -283,7 +283,7 @@ internal_getnetgrent_r (char **hostp, char **userp, char **domainp,
 	    for (namep = datap->needed_groups; namep != NULL;
 		 namep = namep->next)
 	      if (strcmp (datap->val.group, namep->name) == 0)
-		break
+		break;
 	  if (namep != NULL)
 	    /* Really ignore.  */
 	    continue;

http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=1de911c8747205999fb4528fcbca326a7afb2f25

commit 1de911c8747205999fb4528fcbca326a7afb2f25
Merge: 17a21a3 960e553
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Wed Jul 6 20:39:06 2011 -0400

    Merge branch 'master' of ssh://sourceware.org/git/glibc


http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=17a21a3907cbbc731fed12eab8c50a21dc2d6ad3

commit 17a21a3907cbbc731fed12eab8c50a21dc2d6ad3
Merge: d503263 5e9b6af
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Sun Jul 3 14:26:29 2011 -0400

    Merge branch 'master' of ssh://sourceware.org/git/glibc


http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=d5032639a4a7e76213942f5d9c9ea20d2e35c01d

commit d5032639a4a7e76213942f5d9c9ea20d2e35c01d
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Sat Jul 2 20:46:37 2011 -0400

    Complete last patch

diff --git a/crypt/sha512.h b/crypt/sha512.h
index d98a2fc..27dd717 100644
--- a/crypt/sha512.h
+++ b/crypt/sha512.h
@@ -39,13 +39,8 @@ struct sha512_ctx
 # define USE_TOTAL128
     unsigned int total128 __attribute__ ((__mode__ (TI)));
 #endif
-#if BYTE_ORDER == LITTLE_ENDIAN
-# define TOTAL128_low 0
-# define TOTAL128_high 1
-#else
-# define TOTAL128_low 1
-# define TOTAL128_high 0
-#endif
+#define TOTAL128_low (1 - (BYTE_ORDER == LITTLE_ENDIAN))
+#define TOTAL128_high (BYTE_ORDER == LITTLE_ENDIAN)
     uint64_t total[2];
   };
   uint64_t buflen;

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog            |    5 +++++
 NEWS                 |    4 ++--
 crypt/sha512.h       |    9 ++-------
 inet/getnetgrent_r.c |    2 +-
 stdlib/strtod_l.c    |    4 ++--
 5 files changed, 12 insertions(+), 12 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


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