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



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]