summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2014-07-22 20:27:59 (GMT)
committerdgp <dgp@users.sourceforge.net>2014-07-22 20:27:59 (GMT)
commitdf7b610caf1cf862829f37d88e72680016cef587 (patch)
tree376b30b6fcfff8ed2d90f77837b5018081403808 /generic/tclIO.c
parentda31ff7eb892963804fbc37cda1cdeebe3516f87 (diff)
parent2ad2aba317b1528ae464c945ddc20175b989b63c (diff)
downloadtcl-df7b610caf1cf862829f37d88e72680016cef587.zip
tcl-df7b610caf1cf862829f37d88e72680016cef587.tar.gz
tcl-df7b610caf1cf862829f37d88e72680016cef587.tar.bz2
merge trunk
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r--generic/tclIO.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c
index 1938173..256b411 100644
--- a/generic/tclIO.c
+++ b/generic/tclIO.c
@@ -5446,7 +5446,7 @@ Tcl_ReadRaw(
if (bytesToRead > 0) {
- int nread = ChanRead(chanPtr, readBuf+copied, bytesToRead);
+ int nread = ChanRead(chanPtr, readBuf, bytesToRead);
if (nread > 0) {
/* Successful read (short is OK) - add to bytes copied */