vim: fix os_unix.h.patch

This commit is contained in:
Leonid Pliushch 2019-12-20 19:28:27 +02:00
parent 381a68a0fc
commit fe0a3cbd22
1 changed files with 6 additions and 6 deletions

View File

@ -1,12 +1,12 @@
diff -u -r ../vim-7.4.1049/src/os_unix.h ./src/os_unix.h
--- ../vim-7.4.1049/src/os_unix.h 2016-01-04 06:45:29.000000000 -0500
+++ ./src/os_unix.h 2016-01-04 11:23:21.698790120 -0500
@@ -368,7 +368,7 @@
diff -uNr vim-8.2.0000/src/os_unix.h vim-8.2.0000.mod/src/os_unix.h
--- vim-8.2.0000/src/os_unix.h 2019-12-12 15:18:35.000000000 +0200
+++ vim-8.2.0000.mod/src/os_unix.h 2019-12-20 19:27:51.141441414 +0200
@@ -350,7 +350,7 @@
# ifdef VMS
# define DFLT_DIR "./,sys$login:,tmp:"
# else
-# define DFLT_DIR ".,~/tmp,/var/tmp,/tmp" /* default for 'directory' */
+# define DFLT_DIR ".,~/tmp,@TERMUX_PREFIX@/var/tmp,@TERMUX_PREFIX@/tmp" /* default for 'directory' */
-# define DFLT_DIR ".,~/tmp,/var/tmp,/tmp" // default for 'directory'
+# define DFLT_DIR ".,~/tmp,@TERMUX_PREFIX@/tmp,@TERMUX_PREFIX@/var/tmp" // default for 'directory'
# endif
#endif