diff options
| author | hobbs <hobbs> | 2002-03-08 23:46:27 (GMT) |
|---|---|---|
| committer | hobbs <hobbs> | 2002-03-08 23:46:27 (GMT) |
| commit | 5c938c5cea1b7b41f3e1a60325dbf1b110733ed5 (patch) | |
| tree | 2e2e75b3d585ef4476938332dba344cb606774b1 /win/tclWinFCmd.c | |
| parent | f52daa249af705d468d6b0d810abe6b130f8826e (diff) | |
| download | tcl-5c938c5cea1b7b41f3e1a60325dbf1b110733ed5.zip tcl-5c938c5cea1b7b41f3e1a60325dbf1b110733ed5.tar.gz tcl-5c938c5cea1b7b41f3e1a60325dbf1b110733ed5.tar.bz2 | |
(DoCopyFile): correctly set retval to TCL_OK
Diffstat (limited to 'win/tclWinFCmd.c')
| -rw-r--r-- | win/tclWinFCmd.c | 4 |
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) {} |
