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)
commit2c5a00c9665e5219026627b5d248be5b0302e46c (patch)
treeeae05bcb0f55d1af06cb30d2735d6329ed87a379 /win/tclWinPipe.c
parent262df0197b947ebc3e431b14680b1c52fb3cdefb (diff)
parent3d65f9905d4ad6e2b7700d7da4e5a1598902b53e (diff)
downloadtcl-2c5a00c9665e5219026627b5d248be5b0302e46c.zip
tcl-2c5a00c9665e5219026627b5d248be5b0302e46c.tar.gz
tcl-2c5a00c9665e5219026627b5d248be5b0302e46c.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);
}
/*