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.19-367-gce0c5b8
- From: neleai at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 7 May 2014 12:01:05 -0000
- Subject: GNU C Library master sources branch master updated. glibc-2.19-367-gce0c5b8
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 ce0c5b8f365c73fc647f9a2a43fa988e6f0f46f4 (commit)
from 0f58d25277fe88f3907e8c426f9bcedb7f07ed0d (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ce0c5b8f365c73fc647f9a2a43fa988e6f0f46f4
commit ce0c5b8f365c73fc647f9a2a43fa988e6f0f46f4
Author: OndÅ?ej BÃlka <neleai@seznam.cz>
Date: Wed May 7 13:58:23 2014 +0200
Fix typo in nptl/sockperf.c
diff --git a/ChangeLog b/ChangeLog
index d7e9cd4..7da675c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-05-07 OndÅ?ej BÃlka <neleai@seznam.cz>
+
+ [BZ #16876]
+ * nptl/sockperf.c (client): Check socket return value.
+
2014-05-06 Roland McGrath <roland@hack.frob.com>
* sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
@@ -5,9 +10,9 @@
2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
- [BZ# 16916]
- * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
- Define.
+ [BZ# 16916]
+ * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
+ Define.
2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
diff --git a/NEWS b/NEWS
index cc499de..6c9328d 100644
--- a/NEWS
+++ b/NEWS
@@ -16,7 +16,7 @@ Version 2.20
16677, 16680, 16683, 16689, 16695, 16701, 16706, 16707, 16712, 16713,
16714, 16731, 16739, 16740, 16743, 16754, 16758, 16759, 16760, 16770,
16786, 16789, 16791, 16799, 16800, 16815, 16823, 16824, 16831, 16838,
- 16854, 16885, 16888, 16890, 16912, 16916.
+ 16854, 16876, 16885, 16888, 16890, 16912, 16916.
* The minimum Linux kernel version that this version of the GNU C Library
can be used with is 2.6.32.
diff --git a/nptl/sockperf.c b/nptl/sockperf.c
index 740fb88..2d4b872 100644
--- a/nptl/sockperf.c
+++ b/nptl/sockperf.c
@@ -71,7 +71,6 @@ client (void *arg)
struct thread_param *param = arg;
unsigned int cnt;
unsigned int nserv = param->nserv;
- int clisock[nserv];
struct pollfd servpoll[nserv];
struct sockaddr_un servaddr;
socklen_t servlen;
@@ -102,7 +101,7 @@ client (void *arg)
for (cnt = 0; cnt < nserv; ++cnt)
{
servpoll[cnt].fd = socket (AF_UNIX, SOCK_STREAM, 0);
- if (clisock < 0)
+ if (servpoll[cnt].fd < 0)
{
puts ("cannot create socket in client");
return NULL;
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 11 ++++++++---
NEWS | 2 +-
nptl/sockperf.c | 3 +--
3 files changed, 10 insertions(+), 6 deletions(-)
hooks/post-receive
--
GNU C Library master sources