/usr/bin/mc --help prints stupid path

Roland Illig roland.illig at gmx.de
Thu Nov 11 17:35:27 UTC 2004


Egmont Koblinger wrote:
> -	if (strchr(fn, '/')) fn = strchr(fn, '/') + 1;
> +	if (strchr(fn, '/')) fn = strrchr(fn, '/') + 1;

Thanks for reporting this. I committed the patch slightly modified. (I 
replaced both strchr with strrchr, just for consistency.)

Roland



More information about the mc-devel mailing list