diff -urp texinfo-6-3/info/infomap.c texinfo-6.3/info/infomap.c --- texinfo-6-3/info/infomap.c 2016-02-06 22:20:23 +1000 +++ texinfo-6.3/info/infomap.c 2017-01-21 15:35:12 +1000 @@ -583,7 +583,11 @@ fetch_user_maps (char *init_file) /* Find and open file. */ if (init_file) filename = xstrdup (init_file); - else if ((homedir = getenv ("HOME")) != NULL) + else if ((homedir = getenv ("HOME")) != NULL +#ifdef __MINGW32__ + || (homedir = getenv ("USERPROFILE")) != NULL +#endif + ) { filename = xmalloc (strlen (homedir) + 2 + strlen (INFOKEY_FILE)); strcpy (filename, homedir);