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 release/2.22/master updated. glibc-2.22-14-g666bb4d


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, release/2.22/master has been updated
       via  666bb4dc55f5a93538d020024c34abad641f50ae (commit)
      from  38810947f96183501784c7f477291d04629b36dc (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=666bb4dc55f5a93538d020024c34abad641f50ae

commit 666bb4dc55f5a93538d020024c34abad641f50ae
Author: Roland McGrath <roland@hack.frob.com>
Date:   Tue Sep 15 15:27:58 2015 -0700

    Use HOST_NAME_MAX for MAXHOSTNAMELEN in <sys/param.h>.
    
    (cherry picked from commit 51f24be7ba5d15313ae94f8fb4500ce07cb98c84)

diff --git a/ChangeLog b/ChangeLog
index 1c5ec45..a25da67 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-09-15  Roland McGrath  <roland@hack.frob.com>
+
+	* misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
+	(MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
+
 2015-09-11  Roland McGrath  <roland@hack.frob.com>
 
 	* sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
diff --git a/misc/sys/param.h b/misc/sys/param.h
index 62b7ed2..1908b93 100644
--- a/misc/sys/param.h
+++ b/misc/sys/param.h
@@ -50,6 +50,9 @@
 #if !defined NOFILE && defined OPEN_MAX
 # define NOFILE		OPEN_MAX
 #endif
+#if !defined MAXHOSTNAMELEN && defined HOST_NAME_MAX
+# define MAXHOSTNAMELEN	HOST_NAME_MAX
+#endif
 #ifndef NCARGS
 # ifdef ARG_MAX
 #  define NCARGS	ARG_MAX

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

Summary of changes:
 ChangeLog        |    5 +++++
 misc/sys/param.h |    3 +++
 2 files changed, 8 insertions(+), 0 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]