summaryrefslogtreecommitdiff
path: root/src/proto/fileio.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-03-31 13:33:08 +0200
committerBram Moolenaar <Bram@vim.org>2015-03-31 13:33:08 +0200
commite5c421cfd70a4d864faa0fac4e9f2dd6cdf5881d (patch)
tree77b845e567cd28c87bf4e9226384cccf04ab645b /src/proto/fileio.pro
parent1ca2e361a869c58a775b5fabb2aaf4e2675ea7ba (diff)
downloadvim-git-e5c421cfd70a4d864faa0fac4e9f2dd6cdf5881d.tar.gz
updated for version 7.4.684v7.4.684
Problem: When starting several Vim instances in diff mode, the temp files used may not be unique. (Issue 353) Solution: Add an argument to vim_tempname() to keep the file.
Diffstat (limited to 'src/proto/fileio.pro')
-rw-r--r--src/proto/fileio.pro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/fileio.pro b/src/proto/fileio.pro
index 45e7b3872..32d7bce31 100644
--- a/src/proto/fileio.pro
+++ b/src/proto/fileio.pro
@@ -23,7 +23,7 @@ void buf_reload __ARGS((buf_T *buf, int orig_mode));
void buf_store_time __ARGS((buf_T *buf, struct stat *st, char_u *fname));
void write_lnum_adjust __ARGS((linenr_T offset));
void vim_deltempdir __ARGS((void));
-char_u *vim_tempname __ARGS((int extra_char));
+char_u *vim_tempname __ARGS((int extra_char, int keep));
void forward_slash __ARGS((char_u *fname));
void aubuflocal_remove __ARGS((buf_T *buf));
int au_has_group __ARGS((char_u *name));