creation date and OSX [performance]
Robert DuToit
rdutoit at capecod.net
Mon Feb 4 02:55:16 GMT 2008
On Feb 3, 2008, at 3:56 PM, Robert DuToit wrote:
> Hi Mike,
> If I replace the missing patch code for flags.diff in compat.c for
> instance:
>
> nt uid_ndx, gid_ndx, crtimes_ndx, acls_ndx, xattrs_ndx, unsort_ndx;
>
> adding ... fileflags_ndx
>
> so then
>
> nt uid_ndx, gid_ndx, fileflags_ndx , crtimes_ndx, acls_ndx,
> xattrs_ndx, unsort_ndx;
>
> And I do this for all the .rej files
>
> should it then compile and make will work?
>
> I tried that though and then make:
>
> robert-dutoits-powerbook-g4-15:rsync-3.0.0pre8 astrid$ make
> Failed to create rounding.h!
> make: *** [rounding.h] Error 1
> robert-dutoits-powerbook-g4-15:rsync-3.0.0pre8 astrid$
I seemed to have answered my own question:
I don't know if this is the best solution, but I copied a rounding.h
file (from a successful build) into the sync-3.0.0pre8 folder and it
compiled and am now testing crtimes.diff vs osx-create-time.diff on a
large number of files. I also ran the backup bouncer test and it came
up perfect.
Rob D
>
>
> Sorry for my continued ignorance with this- am just trying to get
> crtimes and flags patches to work together in rsync 3...
>
> Thanks, Rob D
>
>
>
>
> On Feb 3, 2008, at 2:31 PM, Mike Bombich wrote:
>
>> I think the issue is that the flags patch and the crtimes patch are
>> often trying to patch the same lines. For example, line 65-ish in
>> compat.c:
>>
>> flags.diff:
>> /* These index values are for the file-list's extra-attribute
>> array. */
>> - int uid_ndx, gid_ndx, acls_ndx, xattrs_ndx, unsort_ndx;
>> + int uid_ndx, gid_ndx, fileflags_ndx, acls_ndx, xattrs_ndx,
>> unsort_ndx;
>>
>>
>> crtimes.diff:
>> /* These index values are for the file-list's extra-attribute
>> array. */
>> -int uid_ndx, gid_ndx, acls_ndx, xattrs_ndx, unsort_ndx;
>> +int uid_ndx, gid_ndx, crtimes_ndx, acls_ndx, xattrs_ndx, unsort_ndx;
>>
>>
>> The first patch will succeed, the second will fail.
>>
>> Mike
>>
>> On Feb 3, 2008, at 1:20 AM, Wayne Davison wrote:
>>
>>> On Sat, Feb 02, 2008 at 09:38:20PM -0500, Robert DuToit wrote:
>>>> I tried the crtimes patch and it compiles and works but when I
>>>> tried
>>>> to add the flags patch too I came up with this make error.
>>>
>>> You apparently missed the patch errors before that. You need to
>>> resolve
>>> all the failed hunks from the second patch before trying to run
>>> make.
>>> Look for the *.rej files.
>>>
>>> ..wayne..
>>> --
>>> To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
>>> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>>>
>>
>> --
>> To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
>> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>
> --
> To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
More information about the rsync
mailing list