summaryrefslogtreecommitdiff
path: root/legacy/evil/src/lib/evil_stdlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/evil/src/lib/evil_stdlib.c')
-rw-r--r--legacy/evil/src/lib/evil_stdlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/evil/src/lib/evil_stdlib.c b/legacy/evil/src/lib/evil_stdlib.c
index 492bc63ab6..8034c24cfc 100644
--- a/legacy/evil/src/lib/evil_stdlib.c
+++ b/legacy/evil/src/lib/evil_stdlib.c
@@ -316,7 +316,7 @@ mkstemp(char *__template)
316 v /= 62; 316 v /= 62;
317 317
318#ifndef __MINGW32CE__ 318#ifndef __MINGW32CE__
319 fd = _open(__template, _O_RDWR | _O_BINARY | _O_CREAT | _O_EXCL, _S_IREAD | _S_IWRITE); 319 fd = _open(__template, _O_RDWR | _O_BINARY | _O_CREAT | _O_TEMPORARY | _O_EXCL, _S_IREAD | _S_IWRITE);
320#else /* ! __MINGW32CE__ */ 320#else /* ! __MINGW32CE__ */
321 { 321 {
322 FILE *f; 322 FILE *f;