summaryrefslogtreecommitdiffstats
path: root/win/tclWinFCmd.c
diff options
context:
space:
mode:
authorstanton <stanton@noemail.net>1999-04-23 01:57:23 (GMT)
committerstanton <stanton@noemail.net>1999-04-23 01:57:23 (GMT)
commit8ab69a5106bf8912cf128bc13638920c0c618548 (patch)
treef22fb52653f6c12039b7951588ea61d9944bfaef /win/tclWinFCmd.c
parente44883f554806541dc693432d3939735b1bf848b (diff)
downloadtcl-8ab69a5106bf8912cf128bc13638920c0c618548.zip
tcl-8ab69a5106bf8912cf128bc13638920c0c618548.tar.gz
tcl-8ab69a5106bf8912cf128bc13638920c0c618548.tar.bz2
* win/tclWinFCmd.c:
* win/tclWin32Dll.c: Changed uses of "try" to "__try", since that is the actual keyword. This eliminates the need for some -D flags from the makefile. FossilOrigin-Name: ffcd4f33265bff7e2497e5cef250ff73034145bf
Diffstat (limited to 'win/tclWinFCmd.c')
-rw-r--r--win/tclWinFCmd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/win/tclWinFCmd.c b/win/tclWinFCmd.c
index c4e25ae..aa9858b 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.5 1999/04/21 21:50:34 rjohnson Exp $
+ * RCS: @(#) $Id: tclWinFCmd.c,v 1.6 1999/04/23 01:57:23 stanton Exp $
*/
#include "tclWinInt.h"
@@ -195,11 +195,11 @@ DoRenameFile(
* char block device.
*/
- try {
+ __try {
if ((*tclWinProcs->moveFileProc)(nativeSrc, nativeDst) != FALSE) {
return TCL_OK;
}
- } except (-1) {}
+ } __except (-1) {}
TclWinConvertError(GetLastError());
@@ -484,11 +484,11 @@ DoCopyFile(
* block device.
*/
- try {
+ __try {
if ((*tclWinProcs->copyFileProc)(nativeSrc, nativeDst, 0) != FALSE) {
return TCL_OK;
}
- } except (-1) {}
+ } __except (-1) {}
TclWinConvertError(GetLastError());
if (Tcl_GetErrno() == EBADF) {