Re: [PATCH] POSIX-hostname up to 255 characters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



linux-os (Dick Johnson) wrote:
> It is written (on so-called compatible machines like my Sun) as:
> 
> #define MAXHOSTNAMELEN _POSIX_HOST_NAME_MAX
> 
> Then in limits.h, I see:
> 
> #define _POSIX_HOST_NAME_MAX 64

That's wrong.  The value must be 255, at least for the current spec.
You really should verify your statements before making them public.  The
POSIX spec is available in HTML for for viewing for free from the
OpenGroup.  What a specific implementation does is not authoritative.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux