"Arnd Hanses" <[EMAIL PROTECTED]> wrote:

>         temp = AddName( OnlyPath(file), temp );
> 
>         // Replace spaces with underscores, also in directory
>         temp.subst(' ','_');

This is wrong!  You must not rename the file you may not be the
creator.

> Note:
> I'm not sure why, but gcc -Wall doesn't give a damn warning in case of
> suspicious code like this:
> 
>         LString foo = (char*)bar;
> 
> Shouldn't there be one and how can this be achieved?

The LString class overrides the asignment operator "=".  You do not
have to cast twice.

Regards,
        SMiyata

Reply via email to