From 527cea662a18071b595d551599ad29ba9780fb8d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 15 Dec 1997 22:54:23 +0000 Subject: [PATCH] - fixed an off by 1 bug in the hard link support - added a note about anonymous cvs access to the source code in the README --- README | 15 +++++++++++++++ hlink.c | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/README b/README index ddf17bb2..38f804ff 100644 --- a/README +++ b/README @@ -97,6 +97,21 @@ rsync-bugs@samba.anu.edu.au or (if you think it will be of interest to lots of people) send it to rsync@samba.anu.edu.au +CVS TREE +-------- + +If you want to get the very latest version of rsync direct from the +source code repository then you can use anonymous cvs. You will need a +recent version of cvs then use the following commands: + + cvs -d :pserver:cvs@samba.anu.edu.au:/cvsroot login + Password: cvs + + cvs -d :pserver:cvs@samba.anu.edu.au:/cvsroot co rsync + +Look at the cvs documentation for more details. + + COPYRIGHT --------- diff --git a/hlink.c b/hlink.c index 238fc02b..60b639bf 100644 --- a/hlink.c +++ b/hlink.c @@ -71,7 +71,7 @@ void init_hard_links(struct file_list *flist) int check_hard_link(struct file_struct *file) { #if SUPPORT_HARD_LINKS - int low=0,high=hlink_count; + int low=0,high=hlink_count-1; int mid=0,ret=0; if (!hlink_list || !S_ISREG(file->mode)) return 0; -- 2.34.1