On Fri, Mar 26, 2004 at 10:03:54AM -0500, Erik Jan Tromp wrote:
> $ rsync -aHPv rsync://host/module/single.file .
> <motd, if any>
> receiving file list ... 
> 1 file to consider
> Segmentation fault

Thanks for the report!  I've fixed this bug in CVS as follows:

--- hlink.c     11 Feb 2004 05:03:04 -0000      1.38
+++ hlink.c     26 Mar 2004 16:41:28 -0000
@@ -135,7 +135,7 @@
 
 int hard_link_check(struct file_struct *file, int skip)
 {
-       if (!file->link_u.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;

..wayne..
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to