forked from enlightenment/efl
revert last commit of mkstemp (remove _O_TEMPORARY flag in open())
SVN revision: 61417
This commit is contained in:
parent
9314ca2baf
commit
dc12586bdd
|
@ -11,12 +11,6 @@
|
||||||
add inet_pton() function. Implementation from curl library.
|
add inet_pton() function. Implementation from curl library.
|
||||||
See AUTHORS.
|
See AUTHORS.
|
||||||
|
|
||||||
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>
|
2011-02-27 Vincent Torri <doursse at users dot sf dot net>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -316,7 +316,7 @@ mkstemp(char *__template)
|
||||||
v /= 62;
|
v /= 62;
|
||||||
|
|
||||||
#ifndef __MINGW32CE__
|
#ifndef __MINGW32CE__
|
||||||
fd = _open(__template, _O_RDWR | _O_BINARY | _O_CREAT | _O_TEMPORARY | _O_EXCL, _S_IREAD | _S_IWRITE);
|
fd = _open(__template, _O_RDWR | _O_BINARY | _O_CREAT | _O_EXCL, _S_IREAD | _S_IWRITE);
|
||||||
#else /* ! __MINGW32CE__ */
|
#else /* ! __MINGW32CE__ */
|
||||||
{
|
{
|
||||||
FILE *f;
|
FILE *f;
|
||||||
|
|
Loading…
Reference in New Issue