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
Fixed a bug in match_hard_links() where an empty directory would try
[rsync/rsync.git]
/
hlink.c
diff --git
a/hlink.c
b/hlink.c
index
0fe6bed
..
ec49709
100644
(file)
--- a/
hlink.c
+++ b/
hlink.c
@@
-184,7
+184,7
@@
static void match_gnums(int32 *ndx_list, int ndx_count)
* to first when we're done. */
void match_hard_links(struct file_list *flist)
{
- if (!list_only) {
+ if (!list_only
&& flist->used
) {
int i, ndx_count = 0;
int32 *ndx_list;