Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Got rid of trailing whitespace.
[rsync/rsync.git]
/
backup.c
diff --git
a/backup.c
b/backup.c
index
ed08fae
..
bf98f74
100644
(file)
--- a/
backup.c
+++ b/
backup.c
@@
-237,7
+237,7
@@
static int keep_backup(char *fname)
full_fname(fname), backup_dir_buf);
} else if (st.st_nlink > 1) {
/* If someone has hard-linked the file into the backup
full_fname(fname), backup_dir_buf);
} else if (st.st_nlink > 1) {
/* If someone has hard-linked the file into the backup
- * dir, rename()
can
return success but do nothing! */
+ * dir, rename()
might
return success but do nothing! */
robust_unlink(fname); /* Just in case... */
}
}
robust_unlink(fname); /* Just in case... */
}
}