Retain orig. filename as suffix for tmp. filename

Oswald Buddenhagen ossi at kde.org
Mon Feb 24 01:26:13 UTC 2003


On Mon, Feb 24, 2003 at 01:39:44AM +0100, Adam Byrtek / alpha wrote:
> +    basename = strrchr (filename, PATH_SEP);

> +    if (basename && *basename==PATH_SEP)
> +	basename++;
this is totally bogus.

if (basename)
  basename++;
else
  basename = filename;

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.



More information about the mc-devel mailing list