summaryrefslogtreecommitdiffstats
path: root/win/tclWinPipe.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-03 15:27:06 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-05-03 15:27:06 (GMT)
commitd329be0030f6800be40dc3606491b8880814d336 (patch)
treeeae05bcb0f55d1af06cb30d2735d6329ed87a379 /win/tclWinPipe.c
parentcfdf3d1f29001198f2afdea91a595527acdc2802 (diff)
parent1c8d056c93bd79b5356acb7646a97a97deb710b5 (diff)
downloadtcl-d329be0030f6800be40dc3606491b8880814d336.zip
tcl-d329be0030f6800be40dc3606491b8880814d336.tar.gz
tcl-d329be0030f6800be40dc3606491b8880814d336.tar.bz2
Use GetModuleHandle() in stead of LoadLibrary() when the handle is needed for an already loaded dll.
Fix filesystem-1.52 (only works correctly on UNIX)
Diffstat (limited to 'win/tclWinPipe.c')
-rw-r--r--win/tclWinPipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c
index 4a1e75a..3e7e5eb 100644
--- a/win/tclWinPipe.c
+++ b/win/tclWinPipe.c
@@ -3329,8 +3329,8 @@ TclPipeThreadStop(
/*
* Cancel all sync-IO of this thread (may be blocked there).
*/
- if (tclWinProcs->cancelSynchronousIo) {
- tclWinProcs->cancelSynchronousIo(hThread);
+ if (tclWinProcs.cancelSynchronousIo) {
+ tclWinProcs.cancelSynchronousIo(hThread);
}
/*