This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Sharing of bits/fcntl.h on Linux (SPARC, x86)
On Tuesday, October 23, 2012 16:47:01 Roland McGrath wrote:
> > POSIX.1, 2001 edition specifies that the types are present.
> > Previous
> > editions of POSIX reserve the *_t suffix and so permit the types to
> > be defined, and in glibc we choose to make headers self-contained
> > in that way (defining all the types that the header is specified to
> > use) when permitted.
>
> OK, so I think an appropriate comment is:
>
> /* POSIX.1-2001 specifies that these types are defined by <fcntl.h>.
> Earlier POSIX standards permitted any type ending in `_t' to be
> defined by any POSIX header, so we don't conditionalize the
> definitions here. */
Committed with this change,
Thanks!
Andreas
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126