forked from Imagelibrary/binutils-gdb
* callback.c (os_shutdown): Fix bug in last change: actually
mark file descriptors as available on startup.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2004-06-27 J"orn Rennecke <joern.rennecke@superh.com>
|
||||||
|
|
||||||
|
* callback.c (os_shutdown): Fix bug in last change: actually
|
||||||
|
mark file descriptors as available on startup.
|
||||||
|
|
||||||
2004-06-25 J"orn Rennecke <joern.rennecke@superh.com>
|
2004-06-25 J"orn Rennecke <joern.rennecke@superh.com>
|
||||||
|
|
||||||
[ include/gdb: * callback.h (host_callback_struct): Replace
|
[ include/gdb: * callback.h (host_callback_struct): Replace
|
||||||
|
|||||||
@@ -453,6 +453,7 @@ os_shutdown (p)
|
|||||||
/* At the initial call of os_init, we got -1, 0, 0, 0, ... */
|
/* At the initial call of os_init, we got -1, 0, 0, 0, ... */
|
||||||
if (next < 0)
|
if (next < 0)
|
||||||
{
|
{
|
||||||
|
p->fd_buddy[i] = -1;
|
||||||
do_close = 0;
|
do_close = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user