[OGo-GNUstep-Port] Re: Patches
Helge Hess
gnustep-port@opengroupware.org
Wed, 23 Jul 2003 13:22:15 +0200
On Mittwoch, 23. Juli 2003, at 13:03 Uhr, Nicola Pero wrote:
> NSSearchPathForDirectoriesInDomains() supports NSUserRootDomain. The
> environment variable GNUSTEP_USER_ROOT is not really a good way of
> finding
> the NSUserRootDomain; the cross-platform API is a better way of doing
> it.
> At least if you know that gnustep-base is being used, I recommend using
> NSSearchPathForDirectoriesInDomains() to locate resources.
Let us put it that way: anyone working on the GNUstep port can do as he
likes as long as he doesn't break working stuff ;-)
And as long as nobody cleaned things up, we need a flag which tells the
code.
I think in some places NSSearchPathForDirectoriesInDomains() is already
used for Cocoa, but I still think that this is insufficient, though I
have no prove at hand.
Of course I have also nothing against someone providing a patch for
libFoundation which adds a working NSSearchPathForDirectoriesInDomains
(needs to be libFoundation-license, so please copy no code from
gstep-base ;-).
regards,
Helge
--
OpenGroupware.org - http://www.opengroupware.org/