summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.h
diff options
context:
space:
mode:
authordkf <dkf@noemail.net>2010-03-20 15:39:46 (GMT)
committerdkf <dkf@noemail.net>2010-03-20 15:39:46 (GMT)
commitfd57d2c61d1a5e755355918ceddbbadcafc9d5db (patch)
tree916de8cf08cd2e2b07d6c7faf71f6d89064d6233 /generic/tclIO.h
parent4adf9a350a2a2ee4101dd9447335b799e93220dc (diff)
downloadtcl-fd57d2c61d1a5e755355918ceddbbadcafc9d5db.zip
tcl-fd57d2c61d1a5e755355918ceddbbadcafc9d5db.tar.gz
tcl-fd57d2c61d1a5e755355918ceddbbadcafc9d5db.tar.bz2
Allow [fcopy] to move more than 2GB per call. Frederic Bonnet identified issue.
FossilOrigin-Name: a2e969549f11650b54c316e8525b5dfafa3ce879
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. */