commit | e5c421cfd70a4d864faa0fac4e9f2dd6cdf5881d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Mar 31 13:33:08 2015 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Mar 31 13:33:08 2015 +0200 |
tree | 77b845e567cd28c87bf4e9226384cccf04ab645b | |
parent | 1ca2e361a869c58a775b5fabb2aaf4e2675ea7ba [diff] [blame] |
updated for version 7.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.
diff --git a/src/if_cscope.c b/src/if_cscope.c index f72a96b..2b4ba08 100644 --- a/src/if_cscope.c +++ b/src/if_cscope.c
@@ -1269,7 +1269,7 @@ { /* fill error list */ FILE *f; - char_u *tmp = vim_tempname('c'); + char_u *tmp = vim_tempname('c', TRUE); qf_info_T *qi = NULL; win_T *wp = NULL;