w32.c (sys_open): Don't reset the flags for FD in fd_info[].
Related to bug #13546.
This commit is contained in:
parent
5765e9e081
commit
c49e225602
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-02-27 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* w32.c (sys_open): Don't reset the flags for FD in fd_info[].
|
||||
(Bug#13546).
|
||||
|
||||
2013-02-24 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
* xdisp.c (set_message): Only check for debug-on-message if STRING
|
||||
|
|
|
@ -3126,8 +3126,6 @@ sys_open (const char * path, int oflag, int mode)
|
|||
int res = _open (mpath, (oflag & ~_O_CREAT) | _O_NOINHERIT, mode);
|
||||
if (res < 0)
|
||||
res = _open (mpath, oflag | _O_NOINHERIT, mode);
|
||||
if (res >= 0 && res < MAXDESC)
|
||||
fd_info[res].flags = 0;
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue