KTempFile->QTemporaryFile

Richard Moore richmoore44 at gmail.com
Sun Sep 10 22:55:57 BST 2006


On 9/10/06, Olivier Goffart <ogoffart at kde.org> wrote:
> Le dimanche 10 septembre 2006 21:48, Richard Moore a écrit:
> > On 9/10/06, Thiago Macieira <thiago at kde.org> wrote:
> > > I don't know about the auto-remove default. It looks to me like it should
> > > auto-remove: my $KDETMP is filled with stale temporary files.
> >
> > I tend to agree with this - a bug where the file is removed too early
> > will be noticed as stuff will break. A bug where the file is left
> > behind will probably not get fixed.
>
> On the other hand, the first bug may have bad consequence (a feature not
> working),  while having the file left on the disk is not a critical issue
> since it will be removed on reboot on most of machines.

Do files in the users kde tmp dir get deleted on reboot? Maybe in /tmp
or /var/tmp but not from the $KDEHOME tmp which is the default
location.

>
> Also, the fact it will be noticed depends of how well the software is tested.
> The bug also depends of some border cases that doesn't appears always.

True, but I think it's more likely than spotting that you left the file behind.

Cheers

Rich.




More information about the kde-core-devel mailing list