diff options
author | Wayne Davison <wayned@samba.org> | 2004-01-25 22:32:07 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-01-25 22:32:07 +0000 |
commit | 91a1e147ae0eaf958d4a7bd76ae037e5c2591c29 (patch) | |
tree | 6388097409b74ec053ff70cc8570ef6ebd2a1815 /backup.c | |
parent | 40da90423073e7581cdceebd7556bee3a0a41c94 (diff) | |
download | rsync-91a1e147ae0eaf958d4a7bd76ae037e5c2591c29.tar.gz rsync-91a1e147ae0eaf958d4a7bd76ae037e5c2591c29.tar.bz2 rsync-91a1e147ae0eaf958d4a7bd76ae037e5c2591c29.zip |
Changed F_HEAD to F_HLINDEX.
Diffstat (limited to 'backup.c')
-rw-r--r-- | backup.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -25,6 +25,7 @@ extern int backup_suffix_len; extern int backup_dir_len; extern char *backup_suffix; extern char *backup_dir; +extern struct file_struct **hlink_list; extern int am_root; extern int preserve_devices; @@ -263,7 +264,7 @@ static int keep_backup(char *fname) } #endif if (!kept && preserve_hard_links && file->link_u.links - && file->F_HEAD != file) { + && hlink_list[file->F_HLINDEX] != file) { if (verbose > 1) rprintf(FINFO, "%s is a hard link\n", f_name(file)); } |