cvs commit: src

Dag-Erling Smørgrav des at
Mon Aug 14 12:44:03 UTC 2006

Dmitry Pryanishnikov <dmitry at> writes:
> Dag-Erling Smørgrav <des at> writes:
> > BTW, if you just need to ensure that a file exists, a safe alternative
> > to 'touch ${FILE}' is ':>>${FILE}'.  Makefiles in src/sys/modules
> > which use touch should probably be updated to use this instead.
> It doesn't change the file's last modification time for me using /bin/sh:
> [...]
> So ':>>${FILE}' isn't the same as 'touch ${FILE}' for existing files.

when the purpose is only "to ensure that a file exists" as I wrote
above, this does not matter.

Dag-Erling Smørgrav - des at

More information about the cvs-src mailing list