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
[Bug 3598300]: unix: tcl.h does not include sys/stat.h.
(with an exception for OSX, for now)
... and fix cygwin build
Proposed solution for Bug 3598300 on MacOSX
fix Bug 3598300 on MacOSX too
merge main 8.5 branch
Fix test-case http-4.14
Bug [3601804]: platformCPUID segmentation fault on Darwin
Now really fix test-case http-4.14
Fix [2911139]: connect asynchronously, but without unnecessary internal waits.
Simplify STRING_AT macro.
Protect Tcl_GetIndexFromObjStruct from invalid "offset" values, like 0 or -1. Undocumented, because I don't want to promote people start using that.
Silence come compiler warnings.
Bug 3599789:  Proposed fix by Serg G. Brester