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.
https://bugzilla.samba.org/show_bug.cgi?id=13526
Wayne Davison <wayne at opencoder.net> changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|3.1.3                       |3.2.0
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED
--- Comment #1 from Wayne Davison <wayne at opencoder.net> ---
Indeed, you are exactly right about that assignment being missing. I've
committed a fix into the rsync-patches git repo.
-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Seemingly Similar Threads
- [Bug 13522] New: Patch fileflags.diff and crtimes.diff
- Bug with crtimes and hard links?
- buffer overflow in recv_file_entry
- [Bug 8001] New: buffer overflow in recv_file_entry (maxpathlen doesn't works)
- DO NOT REPLY [Bug 6542] New: rsync: hlink.c:125: match_gnums: Assertion `gnum >= hlink_flist->ndx_start' failed.