diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-12-15 22:54:23 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-12-15 22:54:23 +0000 |
commit | 527cea662a18071b595d551599ad29ba9780fb8d (patch) | |
tree | 169744455b2c8134527599fd20a6bcc4215f8019 /hlink.c | |
parent | 7c5969064009f1d305ab86e42d924cb3f7acc853 (diff) | |
download | rsync-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
Diffstat (limited to 'hlink.c')
-rw-r--r-- | hlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |