RE: HOST_NAME_MAX on HP-NonStop

2010-12-25 Thread Joachim Schmitz
Schmitz Cc: bug-gnulib@gnu.org Subject: Re: HOST_NAME_MAX on HP-NonStop Joachim Schmitz wrote: Good question. In config.h I can only see: #define HOST_NAME_MAX So it gets #define'd but with no value ... Possibly because it does not #include arpa/nameser.h arpa/nameser.h is such a rarely

Re: HOST_NAME_MAX on HP-NonStop

2010-12-25 Thread Bruno Haible
Joachim Schmitz wrote: Problem: I seem to need automake 1.11 but only have 1.8 Yes, the file DEPENDENCIES says that you need automake 1.9.6 at least, for use with gnulib. Meanwhile it'd be great if you could create me a new testdir Find it at

Re: HOST_NAME_MAX on HP-NonStop

2010-12-24 Thread Bruno Haible
Joachim Schmitz wrote: Good question. In config.h I can only see: #define HOST_NAME_MAX So it gets #define'd but with no value ... Possibly because it does not #include arpa/nameser.h arpa/nameser.h is such a rarely included header file that we can ignore it here, and simply use a

Re: HOST_NAME_MAX on HP-NonStop

2010-12-23 Thread Bruno Haible
Joachim Schmitz wrote: Problem with HOST_NAME_MAX (MAXHOSTNAMELEN is set to 64 in arpa/nameser.h, added this to gllib/unistd.in.h, but don't think it belongs there):     char buf[HOST_NAME_MAX];          ^ /usr/local/Floss/gnulib/testdir-posix/gltests/test-gethostname.c, line 38:

RE: HOST_NAME_MAX on HP-NonStop

2010-12-23 Thread Joachim Schmitz
Haible [mailto:br...@clisp.org] Sent: Thursday, December 23, 2010 1:48 PM To: Joachim Schmitz Cc: bug-gnulib@gnu.org Subject: Re: HOST_NAME_MAX on HP-NonStop Joachim Schmitz wrote: Problem with HOST_NAME_MAX (MAXHOSTNAMELEN is set to 64 in arpa/nameser.h, added this to gllib/unistd.in.h, but don't