Mercurial > vim
diff src/proto/fileio.pro @ 6721:7347229a646a v7.4.684
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.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 31 Mar 2015 13:33:08 +0200 |
parents | 27a36d1013a6 |
children | 228ff048db20 |
line wrap: on
line diff
--- a/src/proto/fileio.pro +++ b/src/proto/fileio.pro @@ -23,7 +23,7 @@ void buf_reload __ARGS((buf_T *buf, int 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));