diff options
author | dgp <dgp@users.sourceforge.net> | 2014-07-22 20:27:59 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-07-22 20:27:59 (GMT) |
commit | df7b610caf1cf862829f37d88e72680016cef587 (patch) | |
tree | 376b30b6fcfff8ed2d90f77837b5018081403808 /generic/tclIO.c | |
parent | da31ff7eb892963804fbc37cda1cdeebe3516f87 (diff) | |
parent | 2ad2aba317b1528ae464c945ddc20175b989b63c (diff) | |
download | tcl-df7b610caf1cf862829f37d88e72680016cef587.zip tcl-df7b610caf1cf862829f37d88e72680016cef587.tar.gz tcl-df7b610caf1cf862829f37d88e72680016cef587.tar.bz2 |
merge trunk
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r-- | generic/tclIO.c | 2 |
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 */ |