termux-packages/packages/vim/option.c.patch
Fredrik Fornwall 59f0d218a6 Initial push
2015-06-13 01:03:31 +02:00

13 lines
402 B
Diff

diff -u -r ../cache/vim-hg/src/option.c ./src/option.c
--- ../cache/vim-hg/src/option.c 2014-12-29 03:45:05.848110254 -0500
+++ ./src/option.c 2015-01-01 15:57:05.028319916 -0500
@@ -3173,7 +3173,7 @@
mustfree = FALSE;
# ifdef UNIX
if (*names[n] == NUL)
- p = (char_u *)"/tmp";
+ p = (char_u *)"@TERMUX_PREFIX@/tmp";
else
# endif
p = vim_getenv((char_u *)names[n], &mustfree);