bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATCH: NSPathUtilities etc


From: Alexander Malmberg
Subject: Re: PATCH: NSPathUtilities etc
Date: Mon, 08 Mar 2004 02:52:05 +0100

David Ayers wrote:
> [snip] So I would be grateful if you could post your patch
> again, possibly in coherent separate posts so that the issues can be
> addressed individually.  I know its extra work but I really think it is
> needed here.

Yes, that would be nice.

[snip change NSTemporaryDirectory() behavior]
> I can see how one can derive this from the documentation.

Not from GNUstep's documentation, which is what matters (when, for once,
it exists ;-).

> But IMO, this
> definitely needs a transition period for code relying on the secureness
> of NSTemporaryDirectory().  First we need a major release which
> introduces something like a GSSecureTemporaryDirectory(), have
> NSTemporaryDirectory() return that same directory and prominently
> announce that NSTemporaryDirectory() won't return a secured directory
> but the system directory in future releases.  We can then consider
> changing NSTemporaryDirectory() for the following major release.

A better way of adding this new "system temporary directory" function
would be to just add GSSystemTemporaryDirectory(). There's no reason to
break NSTemporaryDirectory().

- Alexander Malmberg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]