cvs commit: src

Dag-Erling Smørgrav des at
Mon Aug 14 12:54:15 UTC 2006

Ruslan Ermilov <ru 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.
> Very good, I like it.

See attached patch.  I ended up using :> instead of :>> since that is
what is meant in most cases (i.e. the file is supposed to be empty)

Dag-Erling Smørgrav - des at

-------------- next part --------------
A non-text attachment was scrubbed...
Name: touch.diff
Type: text/x-patch
Size: 4330 bytes
Desc: not available
Url :

More information about the cvs-src mailing list