Re: Cocoa vs User: 0 - 1
Re: Cocoa vs User: 0 - 1
- Subject: Re: Cocoa vs User: 0 - 1
- From: Ondra Cada <email@hidden>
- Date: Sat, 17 Apr 2004 18:10:36 +0200
Rosyna,
On 17.4.2004, at 17:57, Rosyna wrote:
>
The fix is to just not cache paths. Just call CFURLCreateFromFSRef()
>
each time the path is needed in NSBundle. It might already do this. I
>
haven't checked. Standard behaviour really. It is what NSDocument
>
probably does as well since it supports moving files while they are in
>
use now.
Sigh. I *do* know that and how it is possible to write an application
which is resistent against moving. What I am stressing out is that
there is any number of application which *do not* do that, and a vast
majority of them never will. Heck, would you forbid using of argv[0],
too? Or would you advocate the BSD layer dynamically changes process
info if the process executable is moved? And so forth, and so on.
There are much more important things for Apple programmers to put
effort to than such a nonsense as trying to support moving of running
apps, the more so since it is (but for a very small number of apps
specially written with that in mind) quite impossible.
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.