Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40da904
)
Changed F_HEAD to F_HLINDEX.
author
Wayne Davison
<wayned@samba.org>
Sun, 25 Jan 2004 22:32:07 +0000
(22:32 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 25 Jan 2004 22:32:07 +0000
(22:32 +0000)
backup.c
patch
|
blob
|
blame
|
history
diff --git
a/backup.c
b/backup.c
index
3f5c416
..
e9dfb49
100644
(file)
--- a/
backup.c
+++ b/
backup.c
@@
-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));
}