I'd vote for that being the default method that can be overridden on a
per platform basis with a more functional/efficient version.

-J

--
On Thu, Jan 12, 2006 at 12:07:33PM +0000, Alberto Manuel Brand?o Sim?es wrote:
> I'm not implementing copy at the moment as I lack knowledge. I might 
> just write the default open/while(){write}/close method for cases when 
> everything else fails.
> 
> BTW, it will go for File.pmc accordingly with Leo.
> 
> Joshua Juran wrote:
> >On Jan 11, 2006, at 7:02 PM, Chip Salzenberg wrote:
> >
> >>On Wed, Jan 11, 2006 at 04:16:55PM -0500, Joshua Juran wrote:
> >>
> >>>Since before System 7 (approaching two decades ago), Mac OS has had a
> >>>system call that exchanges the contents of two files.  The purpose of
> >>>this call is to implement a 'safe save' strategy ...
> >>
> >>
> >>Is this still a system call in Mac OS X?
> >
> >
> >Yes, the original FSpExchangeFiles() call persists along with most of 
> >the calls pertaining to FSSpecs.  New code written only for Mac OS 9 and 
> >above could also use the newer FSRef-based FSExchangeObjects() call 
> >which subsumes it.
> >
> >Josh
> >
> 
> -- 
> Alberto Sim?es - Departamento de Inform?tica - Universidade do Minho
>                  Campus de Gualtar - 4710-057 Braga - Portugal

Attachment: pgpNhiAJKcDYi.pgp
Description: PGP signature

Reply via email to