mc won't change into directories that contain a "_" or other "exotic" characters when running in bash-3.2.
upstream is already aware of this bug. I'm posting this here so that Gentoo won't miss the fix when there is one that is accepted upstream.
I made a new ebuild containing the patch provided by Andrey Skvortsov upstream.
No ill side-effects, here ... please test it!
Created attachment 101732 [details, diff]
Created attachment 101734 [details]
Hold it! ... Developer Leonard den Ottolander kindly replied to my entry on `mc's bug page, like:
Mehmet, instead of using the attached patch that breaks compatibility with bash < 3.2 you might want to use the hack/patch that I posted to the mc-devel list in relation to this report.
That patch is almost identical to this one, but by escaping numbers as well it remains compatible with bash > 2.05b.
I dug around, found the mentioned hack, made a new patch with a new ebuild: C'mon fellows, give it a try ;)
Created attachment 101796 [details, diff]
Created attachment 101797 [details]
I've tested on amd64 and it works at least for the directories with a '_' in the name. I'm using bash 3.2.3(1)-release
I tested on a ~x86 with bash-3.2.3(1)-release and its happy viewing ~/tst_tst/tst_tst .
Imported into CVS, thanks for the patch :)
*** Bug 164175 has been marked as a duplicate of this bug. ***