comparison src/misc1.c @ 15046:c1be7c8bb602 v8.1.0534

patch 8.1.0534: MS-Windows installer uses different $HOME than Vim commit https://github.com/vim/vim/commit/25a494ce609f54ce240b1986aad16ca27186d646 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Nov 16 19:39:50 2018 +0100 patch 8.1.0534: MS-Windows installer uses different $HOME than Vim Problem: MS-Windows installer uses different $HOME than Vim. Solution: Use the Vim logic also in the MS-Windows installer. (Ken Takata, closes #3564)
author Bram Moolenaar <Bram@vim.org>
date Fri, 16 Nov 2018 19:45:05 +0100
parents c97b4b537572
children 6e9f37bf987b
comparison
equal deleted inserted replaced
15045:ad62eff820ee 15046:c1be7c8bb602
3903 * For Unix: 3903 * For Unix:
3904 * - go to that directory 3904 * - go to that directory
3905 * - do mch_dirname() to get the real name of that directory. 3905 * - do mch_dirname() to get the real name of that directory.
3906 * This also works with mounts and links. 3906 * This also works with mounts and links.
3907 * Don't do this for MS-DOS, it will change the "current dir" for a drive. 3907 * Don't do this for MS-DOS, it will change the "current dir" for a drive.
3908 * For Windows:
3909 * This code is duplicated in init_homedir() in dosinst.c. Keep in sync!
3908 */ 3910 */
3909 static char_u *homedir = NULL; 3911 static char_u *homedir = NULL;
3910 3912
3911 void 3913 void
3912 init_homedir(void) 3914 init_homedir(void)