revert last commit of mkstemp (remove _O_TEMPORARY flag in open())

SVN revision: 61417
devs/devilhorns/wayland_egl
Vincent Torri 12 years ago
parent 9314ca2baf
commit dc12586bdd
  1. 6
      legacy/evil/ChangeLog
  2. 2
      legacy/evil/src/lib/evil_stdlib.c

@ -11,12 +11,6 @@
add inet_pton() function. Implementation from curl library.
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>
* configure.ac:

@ -316,7 +316,7 @@ mkstemp(char *__template)
v /= 62;
#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__ */
{
FILE *f;

Loading…
Cancel
Save