summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2002-07-08 10:11:22 (GMT)
committervincentdarley <vincentdarley>2002-07-08 10:11:22 (GMT)
commit095d33883b3a4b3d586f2c39679ca943b7e344e4 (patch)
tree90c60676e5dac1fdb8c287808fd164c4d68090c6 /generic
parent6cf4fe89feaa9ef6da9ddded6f2199f76d00e73e (diff)
downloadtcl-095d33883b3a4b3d586f2c39679ca943b7e344e4.zip
tcl-095d33883b3a4b3d586f2c39679ca943b7e344e4.tar.gz
tcl-095d33883b3a4b3d586f2c39679ca943b7e344e4.tar.bz2
fs cleanup
Diffstat (limited to 'generic')
-rw-r--r--generic/tclIOUtil.c4
-rw-r--r--generic/tclTest.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/generic/tclIOUtil.c b/generic/tclIOUtil.c
index 37d9071..d779b5c 100644
--- a/generic/tclIOUtil.c
+++ b/generic/tclIOUtil.c
@@ -17,7 +17,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclIOUtil.c,v 1.52 2002/07/08 10:08:57 vincentdarley Exp $
+ * RCS: @(#) $Id: tclIOUtil.c,v 1.53 2002/07/08 10:11:22 vincentdarley Exp $
*/
#include "tclInt.h"
@@ -1727,7 +1727,7 @@ Tcl_FSOpenFileChannel(interp, pathPtr, modeString, permissions)
if (retVal != NULL) {
if (seekFlag) {
if (Tcl_Seek(retVal, (Tcl_WideInt)0,
- (Tcl_WideInt)SEEK_END) < (Tcl_WideInt)0) {
+ SEEK_END) < (Tcl_WideInt)0) {
if (interp != (Tcl_Interp *) NULL) {
Tcl_AppendResult(interp,
"could not seek to end of file while opening \"",
diff --git a/generic/tclTest.c b/generic/tclTest.c
index 9f56bba..1928dc7 100644
--- a/generic/tclTest.c
+++ b/generic/tclTest.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclTest.c,v 1.53 2002/07/08 10:08:58 vincentdarley Exp $
+ * RCS: @(#) $Id: tclTest.c,v 1.54 2002/07/08 10:11:22 vincentdarley Exp $
*/
#define TCL_TEST
@@ -4785,7 +4785,7 @@ PretendTclpOpenFileChannel(interp, fileName, modeString, permissions)
Tcl_DecrRefCount(pathPtr);
if (ret != NULL) {
if (seekFlag) {
- if (Tcl_Seek(ret, 0, SEEK_END) < 0) {
+ if (Tcl_Seek(ret, (Tcl_WideInt)0, SEEK_END) < (Tcl_WideInt)0) {
if (interp != (Tcl_Interp *) NULL) {
Tcl_AppendResult(interp,
"could not seek to end of file while opening \"",