Re: [PATCH 1/3] y2038: linux: Provide __futimes64 implementation

2020-07-07 Thread Lukasz Majewski
Hi Vineet, > On 7/7/20 12:21 AM, Lukasz Majewski wrote: > >> ARC is 32-bit + TIMESIZE==64 but the new code is not getting built > >> (instead generic variant is). How do I override the generic fiel to > >> be built instead ? > > The futimes.c from sysdeps/unix/sysv/linux/ shall be built. > > >

Re: [PATCH 1/3] y2038: linux: Provide __futimes64 implementation

2020-07-07 Thread Joseph Myers
On Tue, 7 Jul 2020, Vineet Gupta via Libc-alpha wrote: > The issue is generic/utimes.c > > Is that the right file to build. If yes then it needs fixing as it expects > __NR_utimensat (and thus require the aliasing hack in ARC sysdep.h) It was the right file to build, back when sysdeps/unix/sysv/

Re: [PATCH 1/3] y2038: linux: Provide __futimes64 implementation

2020-07-07 Thread Vineet Gupta
On 7/7/20 12:21 AM, Lukasz Majewski wrote: >> ARC is 32-bit + TIMESIZE==64 but the new code is not getting built >> (instead generic variant is). How do I override the generic fiel to >> be built instead ? > The futimes.c from sysdeps/unix/sysv/linux/ shall be built. > > The futimes.c is defined

Re: [PATCH 1/3] y2038: linux: Provide __futimes64 implementation

2020-07-07 Thread Lukasz Majewski
On Mon, 6 Jul 2020 22:58:27 + Vineet Gupta wrote: > Hi Lukasz, > > On 2/17/20 5:17 AM, Lukasz Majewski wrote: > > This patch provides new __futimes64 explicit 64 bit function for > > setting file's 64 bit attributes for access and modification time > > (by specifying file descriptor number).

Re: [PATCH 1/3] y2038: linux: Provide __futimes64 implementation

2020-07-06 Thread Vineet Gupta
Hi Lukasz, On 2/17/20 5:17 AM, Lukasz Majewski wrote: > This patch provides new __futimes64 explicit 64 bit function for setting > file's > 64 bit attributes for access and modification time (by specifying file > descriptor number). > > Internally, the __utimensat64_helper function is used. This