summaryrefslogtreecommitdiff
path: root/legacy/evil
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2011-07-16 07:14:42 +0000
committerVincent Torri <vincent.torri@gmail.com>2011-07-16 07:14:42 +0000
commitdc12586bddcfa788eb64f2a3f1676b25285f533c (patch)
tree9ca4adb502561232f9388e2140d5a777736ee074 /legacy/evil
parent9314ca2bafd8af0f258e9280c6bd3e28901f07ed (diff)
revert last commit of mkstemp (remove _O_TEMPORARY flag in open())
SVN revision: 61417
Diffstat (limited to 'legacy/evil')
-rw-r--r--legacy/evil/ChangeLog6
-rw-r--r--legacy/evil/src/lib/evil_stdlib.c2
2 files changed, 1 insertions, 7 deletions
diff --git a/legacy/evil/ChangeLog b/legacy/evil/ChangeLog
index 6cf49e2f03..f6ebdd5593 100644
--- a/legacy/evil/ChangeLog
+++ b/legacy/evil/ChangeLog
@@ -11,12 +11,6 @@
11 add inet_pton() function. Implementation from curl library. 11 add inet_pton() function. Implementation from curl library.
12 See AUTHORS. 12 See AUTHORS.
13 13
142011-04-20 Vincent Torri <doursse at users dot sf dot net>
15
16 * evil_stdlib.c:
17 fix mkstemp() which didn't remove the file when the last
18 file descriptor was closed
19
202011-02-27 Vincent Torri <doursse at users dot sf dot net> 142011-02-27 Vincent Torri <doursse at users dot sf dot net>
21 15
22 * configure.ac: 16 * configure.ac:
diff --git a/legacy/evil/src/lib/evil_stdlib.c b/legacy/evil/src/lib/evil_stdlib.c
index 8034c24cfc..492bc63ab6 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_TEMPORARY | _O_EXCL, _S_IREAD | _S_IWRITE); 319 fd = _open(__template, _O_RDWR | _O_BINARY | _O_CREAT | _O_EXCL, _S_IREAD | _S_IWRITE);
320#else /* ! __MINGW32CE__ */ 320#else /* ! __MINGW32CE__ */
321 { 321 {
322 FILE *f; 322 FILE *f;