Commit c49e2256 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

w32.c (sys_open): Don't reset the flags for FD in fd_info[].

Related to bug #13546.
parent 5765e9e0
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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment