This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: conformtest: clean up POSIX expectations for sys/mman.h, sys/stat.h, sys/types.h


On Thu, May 15, 2014 at 09:43:05PM +0000, Joseph S. Myers wrote:
> diff --git a/conform/data/sys/mman.h-data b/conform/data/sys/mman.h-data
> index 0555fd1..3a88684 100644
> --- a/conform/data/sys/mman.h-data
> +++ b/conform/data/sys/mman.h-data
> @@ -39,8 +39,10 @@ optional-function int posix_typed_mem_get_info (int, struct posix_typed_mem_info
>  optional-function int posix_typed_mem_open (const char*, int, int)
>  # endif
>  
> +# ifndef POSIX
>  type size_t
>  type off_t
> +# endif

The earliest POSIX I could access (2001) as this text:

    The size_t and off_t types are defined as described in
    <sys/types.h>.

Since I didn't have a copy of the POSIX 1995/6, Carlos suggested I
look at the next best available thing, which was the Susv1 and that
too had the same text.  Wouldn't that make this change incorrect?

>  type suseconds_t
>  # endif
> +# ifndef POSIX
>  type time_t

The Susv1 has time_t in sys/types.h.

Siddhesh

Attachment: pgpV9OK1pweaK.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]