cvs commit: src ObsoleteFiles.inc

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


Ruslan Ermilov <ru at FreeBSD.org> writes:
> "Dag-Erling Smørgrav" <des at des.no> 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)

DES
-- 
Dag-Erling Smørgrav - des at des.no

-------------- next part --------------
A non-text attachment was scrubbed...
Name: touch.diff
Type: text/x-patch
Size: 4330 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20060814/d9654368/touch.bin


More information about the cvs-src mailing list