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

Joerg Schilling Joerg.Schilling at fokus.fraunhofer.de
Wed Jun 11 08:13:33 PDT 2008


"Garrett D'Amore" <gdamore at sun.com> wrote:

> Roland Mainz wrote:
> > Joerg Schilling wrote:
> >   
> >> John Plocher <John.Plocher at sun.com> wrote:
> >>     
> >>> [Roland and I are bouncing a proposal back and forth...]
> >>>       
> > [snip]
> >   
> >> We still miss touch(1) in the list of 64 bit binaries
> >> in order to be able to correct the time stamps for problematic files.
...
> This is not architectural, but is the only way to fix this to use a 
> 64-bit binary?  Can't we fix it using uint64_t or somesuch in a 32-bit 
> program?  (I'm talking about the specific deficiency for 
> /usr/bin/touch.)  I'd like the fix to be available from a 32-bit 
> environment as well as a 64-bit one, otherwise the "fix" is incomplete.

The only way to stat(2) such files is to use a 64 bit binary, so yes we
need a 64 bit touch



Jörg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       schilling at fokus.fraunhofer.de     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily



More information about the opensolaris-arc mailing list