This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [hurd,commited] hurd: fix conformity test for sys/un.h
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Samuel Thibault <samuel dot thibault at ens-lyon dot org>
- Cc: <libc-alpha at sourceware dot org>
- Date: Wed, 18 Apr 2018 11:15:26 +0000
- Subject: Re: [hurd,commited] hurd: fix conformity test for sys/un.h
- References: <20180417235806.13479-1-samuel.thibault@ens-lyon.org>
On Wed, 18 Apr 2018, Samuel Thibault wrote:
> sun_len is used by BSD systems, and conformant.
>
> * conform/data/sys/un.h-data (struct sockaddr_un): Allow sun_len
> member.
This is not correct. optional-* is used when the relevant standards have
a specification for a symbol, but do not require it to be defined. In
this case, the standards do not have a specification for sun_len - they
have a permission to define arbitrary sun_* symbols, for which "allow
sun_*" is the appropriate representation.
--
Joseph S. Myers
joseph@codesourcery.com