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.25-237-ga0704b1


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  a0704b1ac7e8dc26f0e0feac58468958305ae844 (commit)
       via  b8129a415ec68858d67747644ad868421a399a49 (commit)
      from  25cfd50214378545b92ddae04ddd1221c632361b (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=a0704b1ac7e8dc26f0e0feac58468958305ae844

commit a0704b1ac7e8dc26f0e0feac58468958305ae844
Author: Florian Weimer <fweimer@redhat.com>
Date:   Wed Apr 19 19:34:42 2017 +0200

    nss_dns: Correct parentheses for the __glibc_unlikely argument
    
    This fixes commit bee05c9d58a34ec5886faf3b56ecaa56355d94bf.

diff --git a/ChangeLog b/ChangeLog
index e8b81fc..0d6183d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2017-04-19  Florian Weimer  <fweimer@redhat.com>
 
+	* resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
+
+2017-04-19  Florian Weimer  <fweimer@redhat.com>
+
 	* inet/rcmd.c (rresvport_af): Fix typo in comment.
 	* inet/rexec.c (rexec_af): Likewise.
 
diff --git a/resolv/nss_dns/dns-host.c b/resolv/nss_dns/dns-host.c
index 7099d09..f121aa3 100644
--- a/resolv/nss_dns/dns-host.c
+++ b/resolv/nss_dns/dns-host.c
@@ -633,7 +633,7 @@ getanswer_r (const querybuf *answer, int anslen, const char *qname, int qtype,
 			packtmp, sizeof packtmp);
   if (n != -1 && __ns_name_ntop (packtmp, bp, linebuflen) == -1)
     {
-      if (__glibc_unlikely (errno) == EMSGSIZE)
+      if (__glibc_unlikely (errno == EMSGSIZE))
 	goto too_small;
 
       n = -1;

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=b8129a415ec68858d67747644ad868421a399a49

commit b8129a415ec68858d67747644ad868421a399a49
Author: Florian Weimer <fweimer@redhat.com>
Date:   Wed Apr 19 19:30:18 2017 +0200

    rcmd/rexec: Fix typo in comment

diff --git a/ChangeLog b/ChangeLog
index e1e004f..e8b81fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-04-19  Florian Weimer  <fweimer@redhat.com>
+
+	* inet/rcmd.c (rresvport_af): Fix typo in comment.
+	* inet/rexec.c (rexec_af): Likewise.
+
 2017-04-19  Zack Weinberg  <zackw@panix.com>
 
 	* posix/tst-mmap-offset.c: Include stdint.h.
diff --git a/inet/rcmd.c b/inet/rcmd.c
index e43d4af..c285b9e 100644
--- a/inet/rcmd.c
+++ b/inet/rcmd.c
@@ -383,7 +383,7 @@ rresvport_af (int *alport, sa_family_t family)
 		__set_errno (EAFNOSUPPORT);
 		return -1;
 	}
-	/* NB: No SOCK_CLOXEC for backwards compatibility.  */
+	/* NB: No SOCK_CLOEXEC for backwards compatibility.  */
 	s = __socket(family, SOCK_STREAM, 0);
 	if (s < 0)
 		return -1;
diff --git a/inet/rexec.c b/inet/rexec.c
index 82e15ae..bda5367 100644
--- a/inet/rexec.c
+++ b/inet/rexec.c
@@ -86,7 +86,7 @@ rexec_af (char **ahost, int rport, const char *name, const char *pass,
 	}
 	ruserpass(res0->ai_canonname, &name, &pass);
 retry:
-	/* NB: No SOCK_CLOXEC for backwards compatibility.  */
+	/* NB: No SOCK_CLOEXEC for backwards compatibility.  */
 	s = __socket(res0->ai_family, res0->ai_socktype, 0);
 	if (s < 0) {
 		perror("rexec: socket");

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

Summary of changes:
 ChangeLog                 |    9 +++++++++
 inet/rcmd.c               |    2 +-
 inet/rexec.c              |    2 +-
 resolv/nss_dns/dns-host.c |    2 +-
 4 files changed, 12 insertions(+), 3 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]