diff options
author | eutarass | 2010-05-26 21:15:44 +0000 |
---|---|---|
committer | eutarass | 2010-05-26 21:15:44 +0000 |
commit | 825cbe8b0f593226a2fdc924d041031a5c7c0e9b (patch) | |
tree | 9336b3cf180aa228be8188e232fc5114a5b89d76 /plugins | |
parent | 0f2c49d6f308553e695564875ace4815c287f6ac (diff) | |
download | org.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.java | 2 |
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); } } |