Re: copyPath API: still error
Re: copyPath API: still error
- Subject: Re: copyPath API: still error
- From: Chris Parker <email@hidden>
- Date: Mon, 21 Oct 2002 11:44:14 -0700
Hi Lorenzo,
On Monday, October 21, 2002, at 11:19 AM, Lorenzo Puleo wrote:
Do you remember the API copyPath had a big bug?
It was not able to copy files larger than 1GB. Moreover, the API always
returned YES, while it produced a copy of 0 (zero) bytes.
Well, still now (Jaguar 10.2.1) it has a "new" big bug.
If you copy a file large, say 1GB, and your free RAM is less than 1GB,
your
application will use the virtual memory, and, if the free space of
your boot
disk is less than 1GB, your machine will freeze. Tried.
I wrote to Apple several times. After releasing Jaguar they told me
that the
problem had been fixed. I replied that the problem was still there.
Sincerely I can't understand a big and fine (I think the finest)
company
like Apple, still now, releases an API with such a big bug. Moreover,
the
Finder has not this bug copying large files, so I think it should be
good to
put the same routine inside the "copyPath" API.
How could a Cocoa developer work well with such big bugs?
Also, I will write again about bugs on symLinks, Cocoa APIs, file
permissions...
Apple, I love you for 14 years, but please behave properly with your
developers.
When this bug was first reported pre-Jaguar, it wasn't clear the
conditions under which it was occurring (you weren't the first. :). We
fixed one issue related to the size of the file itself, and had
originally thought that was the issue.
Fixing this particular problem involves a rewrite of some core code
that other components are dependent on and I'm very concerned with
making sure that bugs are fixed while other behaviors are preserved.
I've got this bug on my queue, and fixing it is part of some overall
NSFileManager work to address a number of concerns like this, including
move issues as well.
.chris
--
Chris Parker
Cocoa Frameworks Engineer
Apple Computer, Inc.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.