summaryrefslogtreecommitdiffstats
path: root/win/tclWinFCmd.c
diff options
context:
space:
mode:
authorstanton <stanton>1999-04-23 01:57:23 (GMT)
committerstanton <stanton>1999-04-23 01:57:23 (GMT)
commit900205b76935aba2f912d67cb63c5a02f15c3e9a (patch)
treef22fb52653f6c12039b7951588ea61d9944bfaef /win/tclWinFCmd.c
parenta9e9c4de3de788a605af9a2d4efa389f32735e21 (diff)
downloadtcl-900205b76935aba2f912d67cb63c5a02f15c3e9a.zip
tcl-900205b76935aba2f912d67cb63c5a02f15c3e9a.tar.gz
tcl-900205b76935aba2f912d67cb63c5a02f15c3e9a.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.
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) {