Fixing "touch" to reset ancient/weired/far-future timestamps... / was: Re: Switch SPARC GNU coreutils+bash from 32 to64bit[PSARC/2008/351SelfReview]

Garrett D'Amore gdamore at sun.com
Wed Jun 11 15:28:47 PDT 2008


Joerg Schilling wrote:
> Andrew Gabriel <Andrew.Gabriel at sun.com> wrote:
>
>   
>> stat64(2) already exists -- you get it with largefile compiles. However, 
>>   I don't think the time fields are 64 bit.
>>     
>
> They are not. This is the problem.
>
> Jörg
>
>   

I think its time we invented a new version of stat, utimes, etc. that 
used 64-bit time_t's, even on 32-bit kernels.  Some new compilation 
flags (-DTIME64 ?)  could use #pragma's to rename the symbols for "new" 
programs, which could be then used for compiling programs in ON.

I don't have the time to invest in this project myself, but I'd be happy 
to be an ARC sponsor for such work if someone else decided they wanted 
to do this work.

    -- Garrett




More information about the opensolaris-arc mailing list