summaryrefslogtreecommitdiffstats
path: root/win/tclWinFCmd.c
diff options
context:
space:
mode:
authorhobbs <hobbs>2002-03-08 23:46:27 (GMT)
committerhobbs <hobbs>2002-03-08 23:46:27 (GMT)
commit16fe33bd42699f39be83863e78c59a10d6dfee6d (patch)
tree2e2e75b3d585ef4476938332dba344cb606774b1 /win/tclWinFCmd.c
parent12d2dcaa42dce1168e5487ead798a7486e0c4f8a (diff)
downloadtcl-16fe33bd42699f39be83863e78c59a10d6dfee6d.zip
tcl-16fe33bd42699f39be83863e78c59a10d6dfee6d.tar.gz
tcl-16fe33bd42699f39be83863e78c59a10d6dfee6d.tar.bz2
(DoCopyFile): correctly set retval to TCL_OK
Diffstat (limited to 'win/tclWinFCmd.c')
-rw-r--r--win/tclWinFCmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinFCmd.c b/win/tclWinFCmd.c
index 0859269..886bd99 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.23 2002/03/08 01:45:52 mdejong Exp $
+ * RCS: @(#) $Id: tclWinFCmd.c,v 1.24 2002/03/08 23:46:27 hobbs Exp $
*/
#include "tclWinInt.h"
@@ -472,7 +472,7 @@ DoCopyFile(
__try {
if ((*tclWinProcs->copyFileProc)(nativeSrc, nativeDst, 0) != FALSE) {
- retval = -1;
+ retval = TCL_OK;
}
} __except (EXCEPTION_CONTINUE_EXECUTION) {}