summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-12-15 22:54:23 +0000
committerAndrew Tridgell <tridge@samba.org>1997-12-15 22:54:23 +0000
commit527cea662a18071b595d551599ad29ba9780fb8d (patch)
tree169744455b2c8134527599fd20a6bcc4215f8019
parent7c5969064009f1d305ab86e42d924cb3f7acc853 (diff)
downloadrsync-527cea662a18071b595d551599ad29ba9780fb8d.tar.gz
- 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
-rw-r--r--README15
-rw-r--r--hlink.c2
2 files changed, 16 insertions, 1 deletions
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;