projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
2010-07-02 Ulrich Weigand <uweigand@de.ibm.com>
[binutils-gdb.git]
/
gdb
/
ser-go32.c
diff --git
a/gdb/ser-go32.c
b/gdb/ser-go32.c
index 12288f903c7e9ca0ad139f463c64f5622e00f5a1..2f3b99cc2891ed9cb170a180b269b97afa0d15b6 100644
(file)
--- a/
gdb/ser-go32.c
+++ b/
gdb/ser-go32.c
@@
-677,6
+677,7
@@
static int
dos_flush_input (struct serial *scb)
{
struct dos_ttystate *port = &ports[scb->fd];
+
disable ();
port->first = port->count = 0;
if (port->fifo)