comparison src/spell.c @ 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 f28c171348fb
children 1e621b31948b
comparison
equal deleted inserted replaced
6720:1f42458bf2e7 6721:7347229a646a
9424 9424
9425 if (idx == 0) /* use internal wordlist */ 9425 if (idx == 0) /* use internal wordlist */
9426 { 9426 {
9427 if (int_wordlist == NULL) 9427 if (int_wordlist == NULL)
9428 { 9428 {
9429 int_wordlist = vim_tempname('s'); 9429 int_wordlist = vim_tempname('s', FALSE);
9430 if (int_wordlist == NULL) 9430 if (int_wordlist == NULL)
9431 return; 9431 return;
9432 } 9432 }
9433 fname = int_wordlist; 9433 fname = int_wordlist;
9434 } 9434 }