This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.14-334-gf9efbf3
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 8 Oct 2011 07:24:40 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.14-334-gf9efbf3
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 f9efbf3af2a68c42d8c5dda54b2c9d685ddb7c40 (commit)
from bf5824458cc584cfbbdfdb252bd38e8330c6f662 (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=f9efbf3af2a68c42d8c5dda54b2c9d685ddb7c40
commit f9efbf3af2a68c42d8c5dda54b2c9d685ddb7c40
Author: Andreas Jaeger <aj@suse.de>
Date: Sat Oct 8 03:24:17 2011 -0400
Fix netname2host
diff --git a/ChangeLog b/ChangeLog
index 3917692..6cbbc53 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2011-09-29 Andreas Jaeger <aj@suse.de>
+ [BZ #13179]
+ * sunrpc/netname.c (netname2host): Fix logic.
+
[BZ #6779]
[BZ #6783]
* math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
diff --git a/NEWS b/NEWS
index 87649a8..6b51b41 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,4 @@
-GNU C Library NEWS -- history of user-visible changes. 2011-10-7
+GNU C Library NEWS -- history of user-visible changes. 2011-10-8
Copyright (C) 1992-2009, 2010, 2011 Free Software Foundation, Inc.
See the end for copying conditions.
@@ -11,7 +11,7 @@ Version 2.15
6779, 6783, 9696, 11589, 12403, 12847, 12868, 12852, 12874, 12885, 12907,
12922, 12935, 13007, 13021, 13067, 13068, 13090, 13092, 13114, 13118,
- 13123, 13134, 13138, 13150
+ 13123, 13134, 13138, 13150, 13179
* New program pldd to list loaded object of a process
Implemented by Ulrich Drepper.
diff --git a/sunrpc/netname.c b/sunrpc/netname.c
index e1f1cf6..7de2b86 100644
--- a/sunrpc/netname.c
+++ b/sunrpc/netname.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999, 2002, 2007 Free Software Foundation, Inc.
+/* Copyright (C) 1997-1999, 2002, 2007, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Thorsten Kukuk <kukuk@vt.uni-paderborn.de>, 1997.
@@ -196,9 +196,8 @@ netname2host (const char netname[MAXNETNAMELEN + 1], char *hostname,
const int hostlen)
{
char *p1, *p2;
- char buffer[MAXNETNAMELEN + 1];
- p1 = strchr (buffer, '.');
+ p1 = strchr (netname, '.');
if (p1 == NULL)
return 0;
p1++;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 3 +++
NEWS | 4 ++--
sunrpc/netname.c | 5 ++---
3 files changed, 7 insertions(+), 5 deletions(-)
hooks/post-receive
--
GNU C Library master sources