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-346-ga843a20


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  a843a204a3e8a0dd53584dad3668771abaec84ac (commit)
       via  12cc2fcdb47f9d7a54fda83e231f885c0425a2a9 (commit)
      from  d9db0846f214b39d2ecb58ab6cd7178a38dd401e (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=a843a204a3e8a0dd53584dad3668771abaec84ac

commit a843a204a3e8a0dd53584dad3668771abaec84ac
Author: Andreas Schwab <schwab@linux-m68k.org>
Date:   Mon Oct 10 21:34:32 2011 +0200

    Fix PLT use in getnetgrent_r

diff --git a/ChangeLog b/ChangeLog
index 484c139..a5cbdee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
 
+	* inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
+	of rawmemchr.
+
 	* sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
 
 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
diff --git a/inet/getnetgrent_r.c b/inet/getnetgrent_r.c
index 8790387..197dd37 100644
--- a/inet/getnetgrent_r.c
+++ b/inet/getnetgrent_r.c
@@ -250,11 +250,11 @@ nscd_getnetgrent (struct __netgrent *datap, char *buffer, size_t buflen,
 
   datap->type = triple_val;
   datap->val.triple.host = datap->cursor;
-  datap->cursor = (char *) rawmemchr (datap->cursor, '\0') + 1;
+  datap->cursor = (char *) __rawmemchr (datap->cursor, '\0') + 1;
   datap->val.triple.user = datap->cursor;
-  datap->cursor = (char *) rawmemchr (datap->cursor, '\0') + 1;
+  datap->cursor = (char *) __rawmemchr (datap->cursor, '\0') + 1;
   datap->val.triple.domain = datap->cursor;
-  datap->cursor = (char *) rawmemchr (datap->cursor, '\0') + 1;
+  datap->cursor = (char *) __rawmemchr (datap->cursor, '\0') + 1;
 
   return NSS_STATUS_SUCCESS;
 }

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

commit 12cc2fcdb47f9d7a54fda83e231f885c0425a2a9
Author: Andreas Schwab <schwab@linux-m68k.org>
Date:   Mon Oct 10 20:43:38 2011 +0200

    Implement __isinf_nsl for IBM long double

diff --git a/ChangeLog b/ChangeLog
index de8e8aa..484c139 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
+
 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
 
 	* po/ja.po: Update from translation team.
diff --git a/sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c b/sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c
new file mode 100644
index 0000000..edeaba5
--- /dev/null
+++ b/sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c
@@ -0,0 +1,16 @@
+/*
+ * __isinf_nsl(x) returns != 0 if x is ±inf, else 0;
+ * no branching!
+ */
+
+#include "math.h"
+#include "math_private.h"
+
+int
+__isinf_nsl (long double x)
+{
+	int64_t hx,lx;
+	GET_LDOUBLE_WORDS64(hx,lx,x);
+	return !((lx & 0x7fffffffffffffffLL)
+		 | ((hx & 0x7fffffffffffffffLL) ^ 0x7ff0000000000000LL));
+}

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

Summary of changes:
 ChangeLog                                          |    7 +++++++
 inet/getnetgrent_r.c                               |    6 +++---
 .../{ldbl-128 => ldbl-128ibm}/s_isinf_nsl.c        |    7 ++-----
 3 files changed, 12 insertions(+), 8 deletions(-)
 copy sysdeps/ieee754/{ldbl-128 => ldbl-128ibm}/s_isinf_nsl.c (61%)


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]