Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Rennie2007-03-29 10:33:15 -0400
committerMichael Rennie2007-03-29 10:33:15 -0400
commitb8513464a150c0b2b739c8bc96c1c2b59fbe50d3 (patch)
treef44acb07ebfb11276d7ea670831fddcfb03acf28 /org.eclipse.ui.console
parent3c916f416422af071512ccf2b455ef1814624d77 (diff)
downloadeclipse.platform.debug-b8513464a150c0b2b739c8bc96c1c2b59fbe50d3.tar.gz
eclipse.platform.debug-b8513464a150c0b2b739c8bc96c1c2b59fbe50d3.tar.xz
eclipse.platform.debug-b8513464a150c0b2b739c8bc96c1c2b59fbe50d3.zip
Bug 164218
[console] IOConsoleInputStream.read() doesn't reduce the amount of data available
Diffstat (limited to 'org.eclipse.ui.console')
-rw-r--r--org.eclipse.ui.console/src/org/eclipse/ui/console/IOConsoleInputStream.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.eclipse.ui.console/src/org/eclipse/ui/console/IOConsoleInputStream.java b/org.eclipse.ui.console/src/org/eclipse/ui/console/IOConsoleInputStream.java
index 502a7efc7..66b0ffe4e 100644
--- a/org.eclipse.ui.console/src/org/eclipse/ui/console/IOConsoleInputStream.java
+++ b/org.eclipse.ui.console/src/org/eclipse/ui/console/IOConsoleInputStream.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2006 IBM Corporation and others.
+ * Copyright (c) 2000, 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -134,6 +134,7 @@ public class IOConsoleInputStream extends InputStream {
if (outPointer == input.length) {
outPointer = 0;
}
+ size -= 1;
return b;
}

Back to the top