I think I found a bug...
Nathan Bullock
nathan_kent_bullock at yahoo.ca
Sun Jul 31 04:18:49 GMT 2005
I am looking at rsync 2.6.6
When I try to rsync a directory using --link-dest it
never creates hardlinks.
After crashing my way through the code here is what I
found:
generator.c: function 'unchanged_file'
if (ignore_times)
return 0;
return cmp_modtime(st->st_mtime, file->modtime) ==
0;
shouldn't these lines be:
if (ignore_times)
return 1;
return cmp_modtime(st->st_mtime, file->modtime) >=
0;
Or do I not understand something...
Nathan Bullock
Visit my website at http://www.nathanbullock.org
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the rsync
mailing list