[patch] HOST_NAME_MAX not defined

Kay Sievers kay.sievers at vrfy.org
Wed Jun 23 12:44:15 PDT 2004


On Wed, 2004-06-23 at 21:30 +0200, Sjoerd Simons wrote:
> Hi,
> 
>   It seems HOST_NAME_MAX is not defined on my system (debian unstable). 
>   According to the gethostname manpage:
>     SUSv2 guarantees that `Host names are limited  to  255  bytes'.  POSIX
>     1003.1-2001  guarantees that `Host names (not including the terminating
>     NUL) are limited to HOST_NAME_MAX bytes'.

Yeah, just checked it and also my debian's glibc doesn't have it. Seems
that they are behind for a 'unstable' release. :)
So sure, your fix is welcome.

Thanks,
Kay


_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list