Don't leak getaddrinfo() results
Map WSAEWOULDBLOCK to EWOULDBLOCK. Suggested by Reinhard Max.
Fix [e832d2b08]: unnecessary code in Tcl_SetMaxBlockTime.
Fix [e832d2b08]: unnecessary code in Tcl_SetMaxBlockTime.
Eliminate some redundant Tcl_GetErrno() calls.
Revert [3c0b0bbda6]. If this really is a problem, it needs to get fixed by other means than covering behind void pointers.
Cygwin: In stead of checking whether the win32 part is configured properly, just configure it when needed. 
Always build the stub library first (and - on Cygwin - configure win32 properly just before building the stub library)
Revert [5215b8740c] (Enh [2959069]), as it turns out that -fvisibility=hidden only affects definitions and not declarations. 
Therefore explicitely declaring each MODULE_SCOPE function as  __attribute__((__visibility__("hidden")) is much better. 
Suggested by Stuart Cassoff (Thanks!).
Cygwin: Instead of checking whether the win32 part is configured properly, just configure it when needed. 
Always build the stub library first (and - on Cygwin - configure win32 properly just before building the stub library)
Some formatting
Bug Fix: EnvTraceProc() MUST always return NULL to indicate success.
... and don't break env-5.3 and env-5.5 test-cases.
Fix env-5.1 test-case on Cygwin (and probably other platforms which don't have iso8859-1 as system-encoding)
Starting with Windows 8 DSK, GetVersionExA is deprecated
Starting with Windows 8 DSK, GetVersionExA is deprecated
Safer clean-up of environment variables: Do removal after insertions -> tcltest 2.3.7
Safer clean-up of environment variables: Do removal after insertions -> tcltest 2.3.7
The only relyable way of changing environment variables to uppercase (e.g. env(ComSpec) to env(COMSPEC)) is unsetting the old one first. Long-standing bug, exposed by [219226].
The only relyable way of changing environment variables to uppercase (e.g. env(ComSpec) to env(COMSPEC)) is unsetting the old one first. Long-standing bug, exposed by [219226].
Add support for Windows 8.1: See [http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx]