Ben Walton wrote: > The sethostname module will rely on this code too, so make it a > separate function.
Thanks, I'm applying this patch, tweaking the ChangeLog entry to contain a one-line summary and tweaking the git commit message to contain the ChangeLog entry. And this trivial whitespace+comments change. diff --git a/m4/gethostname.m4 b/m4/gethostname.m4 --- a/m4/gethostname.m4 +++ b/m4/gethostname.m4 @@ -43,9 +43,8 @@ AC_DEFUN([gl_FUNC_GETHOSTNAME], gl_PREREQ_HOST_NAME_MAX ]) -dnl Also provide HOST_NAME_MAX when <limits.h> lacks it. +# Provide HOST_NAME_MAX when <limits.h> lacks it. AC_DEFUN([gl_PREREQ_HOST_NAME_MAX], [ - dnl - On most Unix systems, use MAXHOSTNAMELEN from <sys/param.h> instead. dnl - On Solaris, Cygwin, BeOS, use MAXHOSTNAMELEN from <netdb.h> instead. dnl - On mingw, use 256, because -- In memoriam Rudolf Slánský <http://en.wikipedia.org/wiki/Rudolf_Slánský>