summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2002-12-04 05:41:14 (GMT)
committerdavygrvy <davygrvy@pobox.com>2002-12-04 05:41:14 (GMT)
commit265abbb7b4b7f466b06f08dd6bbaa90a00f241e4 (patch)
treed5ae00d540a892eb6ccb8a72aac1f37870108ba3 /win
parent08fd8ff5e9e7758d796135d08f7b801817ada3f1 (diff)
downloadtcl-265abbb7b4b7f466b06f08dd6bbaa90a00f241e4.zip
tcl-265abbb7b4b7f466b06f08dd6bbaa90a00f241e4.tar.gz
tcl-265abbb7b4b7f466b06f08dd6bbaa90a00f241e4.tar.bz2
* win/tclWinPipe.c (PipeClose2Proc): Changed CTRL_C_EVENT
to CTRL_BREAK_EVENT as it can't be ignored by the child.
Diffstat (limited to 'win')
-rw-r--r--win/tclWinPipe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinPipe.c b/win/tclWinPipe.c
index 9de247c..2a9cfe7 100644
--- a/win/tclWinPipe.c
+++ b/win/tclWinPipe.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: tclWinPipe.c,v 1.28 2002/12/04 03:59:17 davygrvy Exp $
+ * RCS: @(#) $Id: tclWinPipe.c,v 1.29 2002/12/04 05:41:14 davygrvy Exp $
*/
#include "tclWinInt.h"
@@ -1861,7 +1861,7 @@ PipeClose2Proc(
*/
if (HasConsole() && pipePtr->numPids) {
- GenerateConsoleCtrlEvent(CTRL_C_EVENT,
+ GenerateConsoleCtrlEvent(CTRL_BREAK_EVENT,
TclpGetPid(pipePtr->pidPtr[0]));
}