It appears that the code should be set to return either a zero or a one. I am not sure which. The example below assumes zero.
-John [EMAIL PROTECTED] Personal Opinion Only
int hard_link_check(struct file_struct *file, int skip)
{
#if SUPPORT_HARD_LINKS if (!hlink_list || !file->link_u.links)
return 0;
if (skip && !(file->flags & FLAG_HLINK_EOL))
hlink_list[file->F_HLINDEX] = file->F_NEXT;
if (hlink_list[file->F_HLINDEX] != file) {
if (verbose > 1) {
rprintf(FINFO, "\"%s\" is a hard link\n",
f_name(file));
}
return 1;
}
#endif
return 0;
}
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
