summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.h
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2010-03-20 15:39:46 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2010-03-20 15:39:46 (GMT)
commit981ede1b28ef6c7040d9526a568faf7d7e6f73de (patch)
tree916de8cf08cd2e2b07d6c7faf71f6d89064d6233 /generic/tclIO.h
parentebf2f83895304cba3d46bd0714bc6e1cf38fbe83 (diff)
downloadtcl-981ede1b28ef6c7040d9526a568faf7d7e6f73de.zip
tcl-981ede1b28ef6c7040d9526a568faf7d7e6f73de.tar.gz
tcl-981ede1b28ef6c7040d9526a568faf7d7e6f73de.tar.bz2
Allow [fcopy] to move more than 2GB per call. Frederic Bonnet identified issue.
Diffstat (limited to 'generic/tclIO.h')
-rw-r--r--generic/tclIO.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclIO.h b/generic/tclIO.h
index 5f330f5..5ff855f 100644
--- a/generic/tclIO.h
+++ b/generic/tclIO.h
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIO.h,v 1.16 2009/02/27 23:03:42 nijtmans Exp $
+ * RCS: @(#) $Id: tclIO.h,v 1.17 2010/03/20 15:39:46 dkf Exp $
*/
/*
@@ -42,8 +42,8 @@ typedef struct CopyState {
struct Channel *writePtr; /* Pointer to output channel. */
int readFlags; /* Original read channel flags. */
int writeFlags; /* Original write channel flags. */
- int toRead; /* Number of bytes to copy, or -1. */
- int total; /* Total bytes transferred (written). */
+ Tcl_WideInt toRead; /* Number of bytes to copy, or -1. */
+ Tcl_WideInt total; /* Total bytes transferred (written). */
Tcl_Interp *interp; /* Interp that started the copy. */
Tcl_Obj *cmdPtr; /* Command to be invoked at completion. */
int bufSize; /* Size of appended buffer. */