revert [8abba84224], and make sure that every source file that uses Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
revert [8abba84224], and make sure that every source file that uses Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
Proposed fix, by kakaroto, for Bug 2911139: http::geturl abuses vwait on async call
merge trunk
[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
Now really fix test-case http-4.14
Fix [2911139]: connect asynchronously, but without unnecessary internal waits.
Fix [2911139]: connect asynchronously, but without unnecessary internal waits.