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

Reply via email to