summaryrefslogtreecommitdiffstats
path: root/unix/tclUnixChan.c
diff options
context:
space:
mode:
authorcvs2fossil <cvs2fossil>2000-03-30 04:36:09 (GMT)
committercvs2fossil <cvs2fossil>2000-03-30 04:36:09 (GMT)
commit0b5453c561b62764ef764923e89b8c32e3b0f3a1 (patch)
tree56004322c3888a75cfad2896ad2e4b54bb7866dd /unix/tclUnixChan.c
parent5f7fd015c795c68b50b9f34e28deb81c5f5549d2 (diff)
downloadtcl-scriptics_sc_2_0_b2_synthetic.zip
tcl-scriptics_sc_2_0_b2_synthetic.tar.gz
tcl-scriptics_sc_2_0_b2_synthetic.tar.bz2
Created branch scriptics-sc-2-0-b2-syntheticscriptics_sc_2_0_b2scriptics_sc_2_0_b2_synthetic
Diffstat (limited to 'unix/tclUnixChan.c')
-rw-r--r--unix/tclUnixChan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tclUnixChan.c b/unix/tclUnixChan.c
index 31204cb..06a8a42 100644
--- a/unix/tclUnixChan.c
+++ b/unix/tclUnixChan.c
@@ -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: tclUnixChan.c,v 1.14 2000/03/27 18:34:32 ericm Exp $
+ * RCS: @(#) $Id: tclUnixChan.c,v 1.13 2000/01/26 03:38:00 hobbs Exp $
*/
#include "tclInt.h" /* Internal definitions for Tcl. */
@@ -502,7 +502,7 @@ FileSeekProc(instanceData, offset, mode, errorCodePtr)
FileState *fsPtr = (FileState *) instanceData;
int newLoc;
- newLoc = lseek(fsPtr->fd, (off_t) offset, mode);
+ newLoc = lseek(fsPtr->fd, offset, mode);
*errorCodePtr = (newLoc == -1) ? errno : 0;
return newLoc;