dgp http://core.tcl.tk/tcl/info/e69a0476efd6b58dbd9cbb23631ea18f13fc114d
dgp Looks like this checkin introduced a bug to me.
dgp The code changes certainly changed behavior, while the comment remains the same.
dgp line 2625.
dgp The upshot is that [exec $program] in Tcl will report a number of program ending exceptions in $program ....
dgp notably, at least some failures of [load]ing libraries....
dgp ..as "child killed: unknown signal"
dgp because the actual exit code matched the magic 0xC0000000 pattern Tcl_WaitPid is crafting.
aku 0xC0... is, I believe the 2 MSB bits of the value (assuming a 32bit int)
dgp on at least some DLL load failures that crash $program, the exit code is 0xc0000139
dgp http://stackoverflow.com/questions/8908112/the-specified-procedure-could-not-be-found-error-when-running-app-on-windows-x
dgp I presume the "Entry Point not found" exception could be added to the list of exceptions given special processing by the win implementation of Tcl_WaitPid() ?
|