Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2010-05-26 17:15:44 -0400
committereutarass2010-05-26 17:15:44 -0400
commit825cbe8b0f593226a2fdc924d041031a5c7c0e9b (patch)
tree9336b3cf180aa228be8188e232fc5114a5b89d76 /plugins
parent0f2c49d6f308553e695564875ace4815c287f6ac (diff)
downloadorg.eclipse.tcf-825cbe8b0f593226a2fdc924d041031a5c7c0e9b.tar.gz
org.eclipse.tcf-825cbe8b0f593226a2fdc924d041031a5c7c0e9b.tar.xz
org.eclipse.tcf-825cbe8b0f593226a2fdc924d041031a5c7c0e9b.zip
Bug 314564: [patch] org.eclipse.tm.tcf.core.AbstractChannel#write() mangles binary data
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/core/AbstractChannel.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/core/AbstractChannel.java b/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/core/AbstractChannel.java
index 2ff3a188d..1e24c604b 100644
--- a/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/core/AbstractChannel.java
+++ b/plugins/org.eclipse.tm.tcf.core/src/org/eclipse/tm/tcf/core/AbstractChannel.java
@@ -978,6 +978,6 @@ public abstract class AbstractChannel implements IChannel {
*/
protected void write(byte[] buf) throws IOException {
assert Thread.currentThread() == out_thread;
- for (int i = 0; i < buf.length; i++) write(buf[i]);
+ for (int i = 0; i < buf.length; i++) write(buf[i] & 0xff);
}
}

Back to the top