merge trunk
Bug 3601260: Reverting [8aca9a8e96] fixes it.
[3600328]: Fix problems caused by buggy [array] compilation inside a buggy
ensemble compilation (which had the net result of producing *very* wrong code).
COMPILE_DEBUG big: fix bug in stack verification for {*}
[Bug 3598300]: unix: tcl.h does not include sys/stat.h.
(with an exception for OSX, for now)
... and fix cygwin build
[Bug 3598300]: unix: tcl.h does not include sys/stat.h.
(with an exception for OSX, for now)
Proposed solution for Bug 3598300 on MacOSX
fix Bug 3598300 on MacOSX too
fix Bug 3598300 on MacOSX too
merge main 8.5 branch
Put back Tcl[GS]etStartupScript(Path|FileName) in private stub table, so extensions using this (like Tk 8.4) will continue to work in all Tcl 8.x versions. 
Extensions using this still cannot be compiled against Tcl 8.6 headers.
Fix test-case http-4.14
Bug [3601804]: platformCPUID segmentation fault on Darwin
Bug [3601804]: platformCPUID segmentation fault on Darwin
Bug [3601804]: platformCPUID segmentation fault on Darwin
Now really fix test-case http-4.14
Fix [2911139]: connect asynchronously, but without unnecessary internal waits.
Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or -1. Undocumented, because I don't want to promote people start using that.
Fix [2911139]: connect asynchronously, but without unnecessary internal waits.