Bug with crtimes and hard links?

Chris Roehrig croehrig at house.org
Sat Sep 27 20:21:42 GMT 2008


Thanks Wayne,
	Your patch didn't fix it, but this one seem to work:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: crtimes-bug.patch
Type: application/octet-stream
Size: 386 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20080927/6285afd6/crtimes-bug.obj
-------------- next part --------------



(It turns out that file_struct does have a crtime embedded in it; I  
just didn't see it at first).

-- Chris

On Sep 27, 2008, at 6:28, Wayne Davison wrote:

> On Fri, Sep 26, 2008 at 05:42:40PM -0700, Chris Roehrig wrote:
>> I've been getting spurious unnecessary copying of files on OSX when  
>> using
>> the crtimes patch and the --crtimes -H options (version 3.0.4).
>
> This appears to be a lack of initializing the stat_x crtime value to  
> 0 in
> the hlink.c code.  Please try out the attached patch.
>
> ..wayne..
> <crtime.patch>



More information about the rsync mailing list