problems when "cd" to Directories with german umlauts and "_"
Bug #81621 reported by
Erik Vetters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mc (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
Bug Description
Binary package hint: mc
Hi,
mc in feisty has a problem when change dir, to Directories that contains german umlauts and "_". Maybe some other
characters are infected to ....
change dir works, but the a error message is thrown at the bottom:
"Can't not change dir to /home/$USER/ÖÖÖÖ" or "Can't change dir to /home/$USER/__test"
Greetings
Erik
Changed in mc: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi,
after a little debugging ....
Error message comes from src/subshell.c ( around line 810)
1.
Change in a subdirectory that contains no german umlauts and/or a "_" mc
never go to
if(subshell_alive) { ... } in function
void
do_subshell_chdir () {
}
and there
string subshell_cwd
and
string current_panel->cwd
are the same
2.
Change to a directory with german umlauts and/or "_"
mc goes to
if (subshell_alive)
int subshell_alive is here 1 and before too
string subshell_cwd
and
string current_panel->cwd
are different,
current_panel->cwd = "contains the directory with umlauts and _ "
subshell_cwd = "contains the upper directory from current_panel->cwd"
Hope this helps ....
Greetings
Erik