summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2002-12-04 03:59:16 (GMT)
committerdavygrvy <davygrvy@pobox.com>2002-12-04 03:59:16 (GMT)
commit08fd8ff5e9e7758d796135d08f7b801817ada3f1 (patch)
tree421ad51a976aae5d589bdba7e8fb98974b4cc60f /ChangeLog
parenta3ffa1319a78d7f38aacc6fc7d885a2f7d23e0df (diff)
downloadtcl-08fd8ff5e9e7758d796135d08f7b801817ada3f1.zip
tcl-08fd8ff5e9e7758d796135d08f7b801817ada3f1.tar.gz
tcl-08fd8ff5e9e7758d796135d08f7b801817ada3f1.tar.bz2
* win/tclAppInit.c (sigHandler): Protect from trying to close a
NULL handle. * win/tclWinPipe.c (PipeClose2Proc, TclpCreateProcess): Send a real Win32 signal (CTRL_C_EVENT) when the read channel is brought down to alert the child to close on its side. Start the process with CREATE_NEW_PROCESS_GROUP to allow the ability to send these signals. The following test case now brings down the child without the use of an external [kill] command. % set p [open "|[info name]" w+] file8d5380 % pid $p 2876 % close $p <- now doesn't block in Tcl_WaitPid() %
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog19
1 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 156d329..28f0e95 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2002-12-03 David Gravereaux <davygrvy@pobox.com>
+
+ * win/tclAppInit.c (sigHandler): Protect from trying to close a
+ NULL handle.
+
+ * win/tclWinPipe.c (PipeClose2Proc, TclpCreateProcess): Send a
+ real Win32 signal (CTRL_C_EVENT) when the read channel is brought
+ down to alert the child to close on its side. Start the process
+ with CREATE_NEW_PROCESS_GROUP to allow the ability to send these
+ signals. The following test case now brings down the child
+ without the use of an external [kill] command.
+
+ % set p [open "|[info name]" w+]
+ file8d5380
+ % pid $p
+ 2876
+ % close $p <- now doesn't block in Tcl_WaitPid()
+ %
+
2002-11-27 David Gravereaux <davygrvy@pobox.com>
* win/tclWinPort.h: Don't turn off winsock prototypes!