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: [PATCH v11 1/3] Y2038: provide size of default time_t for target architecture


On Fri, 19 Oct 2018, Albert ARIBAUD (3ADEV) wrote:

> To determine whether the default time_t interfaces are 32-bit
> and so need conversions, or are 64-bit and so are compatible
> with the internal 64-bit type without conversions, a macro
> giving the size of the  default time_t is also required.
> This macro is called __TIMESIZE.
> 
> This macro can then be used instead of __WORDSIZE in msq-pad.h
> and shm-pad.h files, which in turn allows removing their x86
> variants, and in sem-pad.h files but keeping the x86 variant.
> 
> This patch was tested by running 'make check' on branch master
> then applying this patch and running 'make check' again, and
> checking that both 'make check' yield identical results.
> This was done on x86_64-linux-gnu and i686-linux-gnu.

This patch is OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


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