:You are one brave soul if the only precedent you have for this
:patch is GNU cp.
:
:Personally, I see nothing wrong with it.
The time check is broken, for one. Any adjustment to the system time
has the potential to screw up the feature. The time check must be
T1 != T2, not T1 < T2, and then use utimes() to set the destination file's
time to be the same as the original. And that's just one issue out of
many.
There is a whole lot more to doing an efficient copy then simply checking
the mtime. It's silly to try to integrate it into 'cp'. Use cpdup
instead. plug plug plug.
-Matt
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message