1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-11 16:08:13 +00:00

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:
Eli Zaretskii 2021-09-02 18:49:01 +03:00
parent 110db95e13
commit 3d26490749

View File

@ -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