freebsd-skq/usr.bin/touch
Jaakko Heinonen 401c9fda42 Remove useless and potentially dangerous rw() function which tries to
update access and modification times by reading and writing the file.
chmod(2) in rw() doesn't help because utimes(2) allow owner and the
super-user to change times. Using just utimes(2) should be sufficient.

The -f option becomes no-op.

Reviewed by:	jilles
2012-02-04 13:37:31 +00:00
..
Makefile
touch.1 Remove useless and potentially dangerous rw() function which tries to 2012-02-04 13:37:31 +00:00
touch.c Remove useless and potentially dangerous rw() function which tries to 2012-02-04 13:37:31 +00:00