diff options
| author | dgp <dgp@users.sourceforge.net> | 2002-01-17 04:37:32 (GMT) | 
|---|---|---|
| committer | dgp <dgp@users.sourceforge.net> | 2002-01-17 04:37:32 (GMT) | 
| commit | 0bb265c3bdbc5ca21de5af6238307d73e863603d (patch) | |
| tree | 62a19bfcb6159f9beaa9ffb26dcd2b680126c7c8 /unix/tclUnixFile.c | |
| parent | 2955a401d559c6249d4f2ad18a4c7b000df1a3de (diff) | |
| download | tcl-0bb265c3bdbc5ca21de5af6238307d73e863603d.zip tcl-0bb265c3bdbc5ca21de5af6238307d73e863603d.tar.gz tcl-0bb265c3bdbc5ca21de5af6238307d73e863603d.tar.bz2 | |
	* More TIP 27 updates in tclIOUtil.c and tclIndexObj.c that were
        overlooked before.  Updated callers.
        ***POTENTIAL INCOMPATIBILITY***
        Includes a source incompatibility in the tablePtr arguments of
        the Tcl_GetIndexFromObj* routines.
Diffstat (limited to 'unix/tclUnixFile.c')
| -rw-r--r-- | unix/tclUnixFile.c | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c index d78dca4..eb215c9 100644 --- a/unix/tclUnixFile.c +++ b/unix/tclUnixFile.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: tclUnixFile.c,v 1.13 2001/10/29 14:25:03 dkf Exp $ + * RCS: @(#) $Id: tclUnixFile.c,v 1.14 2002/01/17 04:37:33 dgp Exp $   */  #include "tclInt.h" @@ -496,7 +496,7 @@ TclpObjAccess(pathPtr, mode)      Tcl_Obj *pathPtr;        /* Path of file to access */      int mode;                /* Permission setting. */  { -    char *path = Tcl_FSGetNativePath(pathPtr); +    CONST char *path = Tcl_FSGetNativePath(pathPtr);      if (path == NULL) {  	return -1;      } else { @@ -524,7 +524,7 @@ int  TclpObjChdir(pathPtr)      Tcl_Obj *pathPtr;          /* Path to new working directory */  { -    char *path = Tcl_FSGetNativePath(pathPtr); +    CONST char *path = Tcl_FSGetNativePath(pathPtr);      if (path == NULL) {  	return -1;      } else { @@ -553,7 +553,7 @@ TclpObjLstat(pathPtr, bufPtr)      Tcl_Obj *pathPtr;		/* Path of file to stat */      struct stat *bufPtr;	/* Filled with results of stat call. */  { -    char *path = Tcl_FSGetNativePath(pathPtr); +    CONST char *path = Tcl_FSGetNativePath(pathPtr);      if (path == NULL) {  	return -1;      } else { @@ -685,7 +685,7 @@ TclpObjStat(pathPtr, bufPtr)      Tcl_Obj *pathPtr;		/* Path of file to stat */      struct stat *bufPtr;	/* Filled with results of stat call. */  { -    char *path = Tcl_FSGetNativePath(pathPtr); +    CONST char *path = Tcl_FSGetNativePath(pathPtr);      if (path == NULL) {  	return -1;      } else { | 
