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.15-479-g6a9b9c0
- From: law at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 23 Mar 2012 20:56:53 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.15-479-g6a9b9c0
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 6a9b9c02fa9904ed410ba5a07d61a1119de39b7a (commit)
from 4c42a0c1d5860932e6ed478d6797129a18f01e2a (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=6a9b9c02fa9904ed410ba5a07d61a1119de39b7a
commit 6a9b9c02fa9904ed410ba5a07d61a1119de39b7a
Author: Jeff Law <law@redhat.com>
Date: Fri Mar 23 14:56:42 2012 -0600
2012-03-23 Jeff Law <law@redhat.com>
* nss/getnssent.c (__nss_getent): Fix typo.
diff --git a/ChangeLog b/ChangeLog
index b54b32e..21ad9ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2012-03-23 Jeff Law <law@redhat.com>
+
+ * nss/getnssent.c (__nss_getent): Fix typo.
+
2012-03-23 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/fpu/libm-test-ulps: Update.
diff --git a/nss/getnssent.c b/nss/getnssent.c
index 014b376..6c1eac9 100644
--- a/nss/getnssent.c
+++ b/nss/getnssent.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2004, 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
@@ -32,7 +32,7 @@ __nss_getent (getent_r_function func, void **resbuf, char **buffer,
*buffer = malloc (*buffer_size);
}
- while (buffer != NULL
+ while (*buffer != NULL
&& func (resbuf, *buffer, *buffer_size, &result, h_errnop) == ERANGE
&& (h_errnop == NULL || *h_errnop == NETDB_INTERNAL))
{
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
nss/getnssent.c | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
hooks/post-receive
--
GNU C Library master sources