RFC: boolean to disable autocreate in locateLocal
Tobias Koenig
tokoe at kde.org
Sun May 18 17:55:27 BST 2003
On Sun, May 18, 2003 at 05:48:46PM +0200, Luis Pedro Coelho wrote:
> Le Dimanche 18 Mai 2003 17:23, Waldo Bastian a écrit :
Hi,
> > On Sunday 18 May 2003 14:39, Tobias Koenig wrote:
> > > Could we add a boolean parameter to locateLocal() to avoid
> > > autocreation of the file/directory?
> >
> > Yes, I will do so. The docu of locateLocal said that it always creates the
> > dirs, unfortunately the implementation didn't. I fixed that for 3.2 but it
> > is probably better to add a flag for it instead.
> >
> > It should never create a file btw.
>
> I can understand that creating the file is not good, but I don't see how the
> code does, that.
Right, for files it works, but if checking for a directory it fails.
Ciao,
Tobias
--
Can a government that shoots at reporters be democratic?
Seperate politics from religion and economy!
More information about the kde-core-devel
mailing list