mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
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.
This commit is contained in:
@@ -2751,7 +2751,7 @@ mch_print_init(psettings, jobname, forceit)
|
||||
/* If the user didn't specify a file name, use a temp file. */
|
||||
if (psettings->outfile == NULL)
|
||||
{
|
||||
prt_ps_file_name = vim_tempname('p');
|
||||
prt_ps_file_name = vim_tempname('p', TRUE);
|
||||
if (prt_ps_file_name == NULL)
|
||||
{
|
||||
EMSG(_(e_notmp));
|
||||
|
Reference in New Issue
Block a user