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 3601260: Reverting [8aca9a8e96] fixes it.
[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.
merge core-8-5-branch
Silence come compiler warnings.
revert [273bbe926d]:  it doesn't work on i386
revert [f3509c3d35]:  it doesn't work on i386
new version of cpuid, which doesn't use the edi register any more. Hopefully that works better on some Darwin.
new version of cpuid, which doesn't use the edi register any more. Hopefully that works better on some Darwin.
[Bug 3601804]: platformCPUID segmentation fault on Darwin