summaryrefslogtreecommitdiffstats
path: root/mac/tclMacChan.c
diff options
context:
space:
mode:
authordas <das>2002-06-05 11:59:18 (GMT)
committerdas <das>2002-06-05 11:59:18 (GMT)
commit24229b74b75e8ef219e5f08228243037b6ee7131 (patch)
treee1fd79f317196368a93f0b09f69169f56c39fc49 /mac/tclMacChan.c
parent6d6b5b0d0e9c53fadc2e50abbd967d516a317486 (diff)
downloadtcl-24229b74b75e8ef219e5f08228243037b6ee7131.zip
tcl-24229b74b75e8ef219e5f08228243037b6ee7131.tar.gz
tcl-24229b74b75e8ef219e5f08228243037b6ee7131.tar.bz2
* generic/tclFileName.c (TclGlob): mac specific fix to
recent changes in 'glob -tails' handling. * mac/tclMacPort.h: * mac/tclMacChan.c: fixed TIP#91 bustage. * mac/tclMacResource.c (Tcl_MacConvertTextResource): added utf conversion of text resource contents. * tests/macFCmd.test (macFCmd-1.2): allow CWIE creator.
Diffstat (limited to 'mac/tclMacChan.c')
-rw-r--r--mac/tclMacChan.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mac/tclMacChan.c b/mac/tclMacChan.c
index d29c80e..0407a59 100644
--- a/mac/tclMacChan.c
+++ b/mac/tclMacChan.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclMacChan.c,v 1.15 2002/05/24 21:19:06 dkf Exp $
+ * RCS: @(#) $Id: tclMacChan.c,v 1.16 2002/06/05 11:59:38 das Exp $
*/
#include "tclInt.h"
@@ -131,8 +131,8 @@ static int StdIOInput _ANSI_ARGS_((ClientData instanceData,
char *buf, int toRead, int *errorCode));
static int StdIOOutput _ANSI_ARGS_((ClientData instanceData,
CONST char *buf, int toWrite, int *errorCode));
-static Tcl_WideInt StdIOSeek _ANSI_ARGS_((ClientData instanceData,
- Tcl_WideInt offset, int mode, int *errorCode));
+static int StdIOSeek _ANSI_ARGS_((ClientData instanceData,
+ long offset, int mode, int *errorCode));
static int StdReady _ANSI_ARGS_((ClientData instanceData,
int mask));
@@ -590,10 +590,10 @@ StdIOOutput(
*----------------------------------------------------------------------
*/
-static Tcl_WideInt
+static int
StdIOSeek(
ClientData instanceData, /* Unused. */
- Tcl_WideInt offset, /* Offset to seek to. */
+ long offset, /* Offset to seek to. */
int mode, /* Relative to where should we seek? */
int *errorCodePtr) /* To store error code. */
{