News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Delete file function

Started by sethjackson, May 11, 2006, 09:02:49 PM

Previous topic - Next topic

sethjackson

Hi all. I was browsing the feature requests at BerliOS, and I came across one where someone requested a Delete file feature for C::B.

After thinking about this for awhile I'm going to have to agree with mandrav. This is a bad idea in general, and shouldn't be added to C::B. So I'm removing the code from this post. ;)

mandrav

I 'm 100% against giving such abilities to any C::B class at the filesystem level.
Be patient!
This bug will be fixed soon...

sethjackson

Quote from: mandrav on May 11, 2006, 09:22:32 PM
I 'm 100% against giving such abilities to any C::B class at the filesystem level.

Well that settles that then......

tiger683

For the sake of code itself:
you check

if (!prj)
        return;

after having already used the pointer.

Besides, I think I'll use this afterall since it's usefulness defeats the risks in my case ;)

Thanks,

Rafael

Where I work :P