[Bug 13526] New: Hard link creation time

samba-bugs at samba.org samba-bugs at samba.org
Thu Jul 12 17:17:10 UTC 2018


https://bugzilla.samba.org/show_bug.cgi?id=13526

            Bug ID: 13526
           Summary: Hard link creation time
           Product: rsync
           Version: 3.1.3
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
          Assignee: wayned at samba.org
          Reporter: bugzilla.samba.org-prf at jf-luce.name
        QA Contact: rsync-qa at samba.org

This is for creation time patch.

The 2nd hard link is reported that its creation time is modified. I traced into
rsync and the creation time is the one of the file just before it.

I think I got it :
after this, in recv_file_entry(), in flist.c, line 787 in version 3.1.3
  if (first_hlink_ndx >= flist->ndx_start) {
    struct file_struct *first = flist->files[first_hlink_ndx -
flist->ndx_start];
    file_length = F_LENGTH(first);

we should add "crtime = f_crtime(first);" just after.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.



More information about the rsync mailing list