From ac0abc7c1fb1150edc4359e1a86c2a22e95de71c Mon Sep 17 00:00:00 2001 From: w0rp Date: Thu, 12 Jul 2018 13:05:59 +0100 Subject: Fix #1716 - Replace tempdir() with a wrapper to preserve TMPDIR --- ale_linters/cuda/nvcc.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters/cuda/nvcc.vim') diff --git a/ale_linters/cuda/nvcc.vim b/ale_linters/cuda/nvcc.vim index 7aaa5cc3..3764fe9d 100644 --- a/ale_linters/cuda/nvcc.vim +++ b/ale_linters/cuda/nvcc.vim @@ -10,7 +10,7 @@ endfunction function! ale_linters#cuda#nvcc#GetCommand(buffer) abort " Unused: use ale#util#nul_file - " let l:output_file = tempname() . '.ii' + " let l:output_file = ale#util#Tempname() . '.ii' " call ale#engine#ManageFile(a:buffer, l:output_file) return ale#Escape(ale_linters#cuda#nvcc#GetExecutable(a:buffer)) -- cgit v1.2.3