diff options
author | vincentdarley <vincentdarley@noemail.net> | 2003-02-04 17:06:43 (GMT) |
---|---|---|
committer | vincentdarley <vincentdarley@noemail.net> | 2003-02-04 17:06:43 (GMT) |
commit | 730067510efff07452b36736e70d871f2af30738 (patch) | |
tree | c50a993eca73882fec1db93099999bb362cc7278 /win/tclWinFCmd.c | |
parent | fdff499a2a77365a13406100607235349f0763d8 (diff) | |
download | tcl-730067510efff07452b36736e70d871f2af30738.zip tcl-730067510efff07452b36736e70d871f2af30738.tar.gz tcl-730067510efff07452b36736e70d871f2af30738.tar.bz2 |
finalization and test fixes
FossilOrigin-Name: 1bf7a8241117b168c3fb8a4ed4398c3f1317b2fa
Diffstat (limited to 'win/tclWinFCmd.c')
-rw-r--r-- | win/tclWinFCmd.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/win/tclWinFCmd.c b/win/tclWinFCmd.c index 66d2931..28e7f27 100644 --- a/win/tclWinFCmd.c +++ b/win/tclWinFCmd.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: tclWinFCmd.c,v 1.33 2003/01/25 14:11:33 mdejong Exp $ + * RCS: @(#) $Id: tclWinFCmd.c,v 1.34 2003/02/04 17:06:53 vincentdarley Exp $ */ #include "tclWinInt.h" @@ -99,7 +99,6 @@ static int ConvertFileNameFormat(Tcl_Interp *interp, Tcl_Obj **attributePtrPtr); static int DoCopyFile(CONST TCHAR *srcPtr, CONST TCHAR *dstPtr); static int DoCreateDirectory(CONST TCHAR *pathPtr); -static int DoDeleteFile(CONST TCHAR *pathPtr); static int DoRemoveJustDirectory(CONST TCHAR *nativeSrc, int ignoreError, Tcl_DString *errorPtr); static int DoRemoveDirectory(Tcl_DString *pathPtr, int recursive, @@ -670,7 +669,7 @@ _except_docopyfile_handler( /* *--------------------------------------------------------------------------- * - * TclpObjDeleteFile, DoDeleteFile -- + * TclpObjDeleteFile, TclpDeleteFile -- * * Removes a single file (not a directory). * @@ -696,11 +695,11 @@ int TclpObjDeleteFile(pathPtr) Tcl_Obj *pathPtr; { - return DoDeleteFile(Tcl_FSGetNativePath(pathPtr)); + return TclpDeleteFile(Tcl_FSGetNativePath(pathPtr)); } -static int -DoDeleteFile( +int +TclpDeleteFile( CONST TCHAR *nativePath) /* Pathname of file to be removed (native). */ { DWORD attr; @@ -1380,7 +1379,7 @@ TraversalDelete( { switch (type) { case DOTREE_F: { - if (DoDeleteFile(nativeSrc) == TCL_OK) { + if (TclpDeleteFile(nativeSrc) == TCL_OK) { return TCL_OK; } break; |