On Thursday, February 27, 2003, at 08:09 AM, [EMAIL PROTECTED] wrote:
On Thu, Feb 27, 2003 at 09:04:59AM -0500, Barrie Slaymaker wrote:On Thu, Feb 27, 2003 at 01:44:50AM -0800, [EMAIL PROTECTED] wrote:
I'm not sure I understand the logic of the patch below. Why is it comparing
the size of the file?
To prevent being fooled by a timestamp that has been reset somehow;
comparing both file size and mtime is just being a bit more conservative.
The above is true, and beneficial, but your post mentioned something
about compare() being run less often and less screen clutter. This would
seem to mean compare is run *more* often since the loop is skipped
less often.
The important part was that '-M $dest < -M $_' changed to '-M $dest <= -M $_' . I can't speak for whether that's a good/bad idea, but it'll call compare() less often.
-Ken
