summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2002-12-04 22:04:38 (GMT)
committerdavygrvy <davygrvy@pobox.com>2002-12-04 22:04:38 (GMT)
commit7e2fb9e70cbf48d9ab770d3a64d35e3aa745bb21 (patch)
tree1bed9c021ccaa1ad098a93249d0e2aa2591546f4 /ChangeLog
parent8e711fbc8f9fa92e577821c9c5243bbd4c1d6a8c (diff)
downloadtcl-7e2fb9e70cbf48d9ab770d3a64d35e3aa745bb21.zip
tcl-7e2fb9e70cbf48d9ab770d3a64d35e3aa745bb21.tar.gz
tcl-7e2fb9e70cbf48d9ab770d3a64d35e3aa745bb21.tar.bz2
* win/tclWinPipe.c (Tcl_WaitPid): When a process exits with an
exception, pass this notice on to the caller with a SIG* code rather than truncating the exit code and missing the meaning. This allows TclCleanupChildren() to report "CHILDKILLED". This has a different behavior than unix in that closing the read pipe to a process sends the SIGPIPE signal which is returned as a SIGPIPE exit status. On windows, we send the process a CTRL_BREAK_EVENT and get back a CONTROL_C_EXIT which is documented to mean a SIGINT which seems wrong as a system, but is the correct exit status.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog16
1 files changed, 15 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7fd238d..7992162 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2002-12-04 David Gravereaux <davygrvy@pobox.com>
+
+ * win/tclWinPipe.c (Tcl_WaitPid): When a process exits with an
+ exception, pass this notice on to the caller with a SIG* code
+ rather than truncating the exit code and missing the meaning.
+ This allows TclCleanupChildren() to report "CHILDKILLED".
+
+ This has a different behavior than unix in that closing the
+ read pipe to a process sends the SIGPIPE signal which is
+ returned as a SIGPIPE exit status. On windows, we send the
+ process a CTRL_BREAK_EVENT and get back a CONTROL_C_EXIT which
+ is documented to mean a SIGINT which seems wrong as a system,
+ but is the correct exit status.
+
2002-12-04 Vince Darley <vincentdarley@users.sourceforge.net>
* generic/tclIOUtil.c: fix to redirected 'load' in virtual
@@ -79,7 +93,7 @@
[Patch 561305 561301]
2) Revamps how the socket message handler thread is brought
- up and down to allows for cleaner exits without the use of
+ up and down to allow for cleaner exits without the use of
TerminateThread(). TerminateThread is evil. No attempt has
been made to resolve [Bug 593810] which may need a new
channel driver version for adding a registering function