Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Delete file function

(1/1)

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.

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.

--- End quote ---

Well that settles that then......

tiger683:
For the sake of code itself:
you check

--- Code: ---if (!prj)
        return;

--- End code ---
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

Navigation

[0] Message Index

Go to full version