diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-04-12 21:37:34 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-04-12 21:37:34 +0200 |
commit | b8e22a053b68774dfd86fd829d9dba2333f09c05 (patch) | |
tree | 908dfccf2fb5c70c298fb5f0eb75f2a6c6acb4e3 /src/option.c | |
parent | 527dec3f94c72096bf6baf4bb71f1a21dc7df89c (diff) | |
download | vim-git-b8e22a053b68774dfd86fd829d9dba2333f09c05.tar.gz |
patch 8.0.1704: 'backupskip' default doesn't work for Macv8.0.1704
Problem: 'backupskip' default doesn't work for Mac.
Solution: Use "/private/tmp". (Rainer Müller, closes #2793)
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/option.c b/src/option.c index 48432bb32..5ef346c8d 100644 --- a/src/option.c +++ b/src/option.c @@ -3367,7 +3367,11 @@ set_init_1(int clean_arg) mustfree = FALSE; # ifdef UNIX if (*names[n] == NUL) +# ifdef MACOS_X + p = (char_u *)"/private/tmp"; +# else p = (char_u *)"/tmp"; +# endif else # endif p = vim_getenv((char_u *)names[n], &mustfree); |