<<< Date Index >>>     <<< Thread Index >>>

Re: For 1.5.10: avoid "touch" for timestap granularity



* Oswald Buddenhagen <ossi@xxxxxxx>, 2005-04-05 20:29:26 Tue:
> On Tue, Apr 05, 2005 at 01:57:28PM +0200, Ralf Wildenhues wrote:
> > -   touch stamp-doc-rc
> > +   echo > stamp-doc-rc
> >  
> this creates one-byte files. maybe better use ": > stamp-doc-rc".

According to "info Autoconf Automatic\ Remaking":

    On some old BSD systems, `touch' or any command that results in an
    empty  file does not update the  timestamps, so use a command like
    `echo' as a workaround.

And I think it was the OP's whole point: we don't want the echo
command to result in an empty file.

Whether many such "old BSD systems" are in active use is another
question.

-- 
David Haguenauer