OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb306c3
)
* callback.c (os_shutdown): Fix bug in last change: actually
author
amylaar
<amylaar>
Sun, 27 Jun 2004 03:14:51 +0000
(
03:14
+0000)
committer
amylaar
<amylaar>
Sun, 27 Jun 2004 03:14:51 +0000
(
03:14
+0000)
mark file descriptors as available on startup.
sim/common/ChangeLog
patch
|
blob
|
history
sim/common/callback.c
patch
|
blob
|
history
diff --git
a/sim/common/ChangeLog
b/sim/common/ChangeLog
index
573c82d
..
b4d3d2a
100644
(file)
--- a/
sim/common/ChangeLog
+++ b/
sim/common/ChangeLog
@@
-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>
[ include/gdb: * callback.h (host_callback_struct): Replace
diff --git
a/sim/common/callback.c
b/sim/common/callback.c
index
bbb3fe5
..
ca707fc
100644
(file)
--- a/
sim/common/callback.c
+++ b/
sim/common/callback.c
@@
-453,6
+453,7
@@
os_shutdown (p)
/* At the initial call of os_init, we got -1, 0, 0, 0, ... */
if (next < 0)
{
+ p->fd_buddy[i] = -1;
do_close = 0;
break;
}