1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-15 07:41:09 -08:00

Fix a thinko in fileio.c

* src/fileio.c (get_homedir): Fix last change.  Suggested by
Paul Eggert <eggert@cs.ucla.edu>.
This commit is contained in:
Eli Zaretskii 2018-11-14 17:28:13 +02:00
parent f561c6a112
commit fb2514f3e2

View file

@ -1663,7 +1663,7 @@ get_homedir (void)
/* getpw* functions return UTF-8 encoded file names, whereas egetenv
returns strings in locale encoding, so we need to convert for
consistency. */
char homedir_utf8[MAX_UTF8_PATH];
static char homedir_utf8[MAX_UTF8_PATH];
if (home)
{
filename_from_ansi (home, homedir_utf8);