> > Would this work on Panther(10.3) also??
>
> Yes, the source code I linked to works all the way back to OS 9.
> You'll need to download and include that source code in your project.
>
> 10.4 is when this code was wrapped into the Carbon framework.
Incidentally, FSCopyObject does not work correctly on 10.4 -- it does not copy
HSF+ Extended Attributes -- so the correct solution here is to call
FSCopyObjectSync from the OS on 10.4 and later, and only use the FSCopyObject
sample code on 10.3.
Ben

Signature
If this message helped you, consider buying an item
from my wish list: <http://artins.org/ben/wishlist>
I changed my name: <http://periodic-kingdom.org/People/NameChange.php>
Chris Baum - 17 Dec 2005 01:37 GMT
> Incidentally, FSCopyObject does not work correctly on 10.4 -- it does not
> copy
> HSF+ Extended Attributes -- so the correct solution here is to call
> FSCopyObjectSync from the OS on 10.4 and later, and only use the FSCopyObject
> sample code on 10.3.
Good to know - thx.
Eric Albert - 17 Dec 2005 07:21 GMT
> > > Would this work on Panther(10.3) also??
> >
[quoted text clipped - 7 lines]
> to call FSCopyObjectSync from the OS on 10.4 and later, and only use
> the FSCopyObject sample code on 10.3.
Have you filed a bug report about that? It sounds important.
-Eric

Signature
Eric Albert ejalbert@cs.stanford.edu
http://outofcheese.org/
Gregory Weston - 17 Dec 2005 09:05 GMT
> > > > Would this work on Panther(10.3) also??
> > >
[quoted text clipped - 11 lines]
>
> -Eric
I believe what Chris was describing is that sample code which has been
obviated by 10.4 doesn't work 100% right under 10.4. Not that the
addition in 10.4 that obviated the sample code was flawed.

Signature
Goal 2005: Convincing James Hetfield to cover the Strawberry Shortcake
"Are You Berry Berry Happy?" song.
Eric Albert - 18 Dec 2005 02:18 GMT
> > > > > Would this work on Panther(10.3) also??
> > > >
[quoted text clipped - 9 lines]
> >
> > Have you filed a bug report about that? It sounds important.
> I believe what Chris was describing is that sample code which has been
> obviated by 10.4 doesn't work 100% right under 10.4. Not that the
> addition in 10.4 that obviated the sample code was flawed.
That's actually Ben but yeah, you're right. It'd still be good to file
a bug report to get the sample code updated.
-Eric

Signature
Eric Albert ejalbert@cs.stanford.edu
http://outofcheese.org/