summaryrefslogtreecommitdiffstats
path: root/win/tclWinChan.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-09-13 14:20:38 (GMT)
committernijtmans <nijtmans>2010-09-13 14:20:38 (GMT)
commit977fd8496d174524a12ac1d1bda9ef02b2194503 (patch)
tree03d8642b19420af74dc2a6df0008c01cb554ad79 /win/tclWinChan.c
parent4b90c100d6369a76746f961863759d9c26d4c3eb (diff)
downloadtcl-977fd8496d174524a12ac1d1bda9ef02b2194503.zip
tcl-977fd8496d174524a12ac1d1bda9ef02b2194503.tar.gz
tcl-977fd8496d174524a12ac1d1bda9ef02b2194503.tar.bz2
Various clean-ups, converting from tclWinProc->xxxProc directly to Xxx
(no change in functionality)
Diffstat (limited to 'win/tclWinChan.c')
-rw-r--r--win/tclWinChan.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/win/tclWinChan.c b/win/tclWinChan.c
index cb39579..37e9011 100644
--- a/win/tclWinChan.c
+++ b/win/tclWinChan.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: tclWinChan.c,v 1.58 2010/09/08 21:02:41 dgp Exp $
+ * RCS: @(#) $Id: tclWinChan.c,v 1.59 2010/09/13 14:20:39 nijtmans Exp $
*/
#include "tclWinInt.h"
@@ -915,7 +915,7 @@ TclpOpenFileChannel(
flags = FILE_ATTRIBUTE_READONLY;
}
} else {
- flags = tclWinProcs->getFileAttributesProc(nativeName);
+ flags = GetFileAttributes(nativeName);
if (flags == 0xFFFFFFFF) {
flags = 0;
}
@@ -931,7 +931,7 @@ TclpOpenFileChannel(
* Now we get to create the file.
*/
- handle = tclWinProcs->createFileProc(nativeName, accessMode, shareMode,
+ handle = CreateFile(nativeName, accessMode, shareMode,
NULL, createMode, flags, (HANDLE) NULL);
if (handle == INVALID_HANDLE_VALUE) {