Fix expansion of non-ASCII $HOME
* src/fileio.c (Fexpand_file_name): Make the file name multibyte if the value of $HOME is multibyte. (Bug#50266)
This commit is contained in:
parent
110db95e13
commit
3d26490749
1 changed files with 2 additions and 0 deletions
|
@ -1307,6 +1307,8 @@ the root directory. */)
|
|||
newdir = SSDATA (hdir);
|
||||
newdirlim = newdir + SBYTES (hdir);
|
||||
}
|
||||
else if (!multibyte && STRING_MULTIBYTE (tem))
|
||||
multibyte = 1;
|
||||
#ifdef DOS_NT
|
||||
collapse_newdir = false;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue