forked from enlightenment/efl
Evil: evil_stdlib.c
fix mkstemp() which didn't remove the file when the last file descriptor was closed SVN revision: 58274
This commit is contained in:
parent
f97e7c8d40
commit
33eacca871
|
@ -1,3 +1,9 @@
|
|||
2011-04-20 Vincent Torri <doursse at users dot sf dot net>
|
||||
|
||||
* evil_stdlib.c:
|
||||
fix mkstemp() which didn't remove the file when the last
|
||||
file descriptor was closed
|
||||
|
||||
2011-02-27 Vincent Torri <doursse at users dot sf dot net>
|
||||
|
||||
* configure.ac:
|
||||
|
|
|
@ -316,7 +316,7 @@ mkstemp(char *__template)
|
|||
v /= 62;
|
||||
|
||||
#ifndef __MINGW32CE__
|
||||
fd = _open(__template, _O_RDWR | _O_BINARY | _O_CREAT | _O_EXCL, _S_IREAD | _S_IWRITE);
|
||||
fd = _open(__template, _O_RDWR | _O_BINARY | _O_CREAT | _O_TEMPORARY | _O_EXCL, _S_IREAD | _S_IWRITE);
|
||||
#else /* ! __MINGW32CE__ */
|
||||
{
|
||||
FILE *f;
|
||||
|
|
Loading…
Reference in New Issue