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
- Follow-Ups:
- Re: [PATCH] POSIX-hostname up to 255 characters
- From: Jan Engelhardt <[email protected]>
- Re: [PATCH] POSIX-hostname up to 255 characters
- References:
- [PATCH] POSIX-hostname up to 255 characters
- From: "Randy.Dunlap" <[email protected]>
- Re: [PATCH] POSIX-hostname up to 255 characters
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH] POSIX-hostname up to 255 characters
- From: Jan-Benedict Glaw <[email protected]>
- Re: [PATCH] POSIX-hostname up to 255 characters
- From: "Randy.Dunlap" <[email protected]>
- Re: [PATCH] POSIX-hostname up to 255 characters
- From: Jan-Benedict Glaw <[email protected]>
- Re: [PATCH] POSIX-hostname up to 255 characters
- From: "linux-os \(Dick Johnson\)" <[email protected]>
- Re: [PATCH] POSIX-hostname up to 255 characters
- From: Ulrich Drepper <[email protected]>
- Re: [PATCH] POSIX-hostname up to 255 characters
- From: "linux-os \(Dick Johnson\)" <[email protected]>
- [PATCH] POSIX-hostname up to 255 characters
- Prev by Date: Question about dma_alloc_coherent and iommu
- Next by Date: 2.6.17-rc5-git1: potentially fatal build WARNINGS
- Previous by thread: Re: [PATCH] POSIX-hostname up to 255 characters
- Next by thread: Re: [PATCH] POSIX-hostname up to 255 characters
- Index(es):