Messages in this thread | | | Date | Fri, 26 May 2006 11:55:07 -0700 | From | Ulrich Drepper <> | Subject | Re: [PATCH] POSIX-hostname up to 255 characters |
| |
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 ❖
[unhandled content-type:application/pgp-signature] | |