diff options
Diffstat (limited to 'unix/tclUnixFile.c')
-rw-r--r-- | unix/tclUnixFile.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/unix/tclUnixFile.c b/unix/tclUnixFile.c index 955f12e..4c4dfa0 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.25 2002/06/28 09:56:54 dkf Exp $ + * RCS: @(#) $Id: tclUnixFile.c,v 1.26 2002/07/19 12:31:10 dkf Exp $ */ #include "tclInt.h" @@ -729,8 +729,6 @@ TclpObjLink(pathPtr, toPtr, linkAction) Tcl_Obj *toPtr; int linkAction; { - extern Tcl_Filesystem nativeFilesystem; - if (toPtr != NULL) { CONST char *src = Tcl_FSGetNativePath(pathPtr); CONST char *target = Tcl_FSGetNativePath(toPtr); @@ -784,7 +782,7 @@ TclpObjLink(pathPtr, toPtr, linkAction) strncpy(native, link, (unsigned)length); native[length] = '\0'; - linkPtr = Tcl_FSNewNativePath(&nativeFilesystem, native); + linkPtr = Tcl_FSNewNativePath(&tclNativeFilesystem, native); if (linkPtr != NULL) { Tcl_IncrRefCount(linkPtr); } |