open-watcom/open-watcom-v2 — pull request #114 by joncampbell123 (2014-10-29 02:25:09+00:00)
Title: Reduce win32s stack buffer, error out if unable to query stack memory range.

Windows 3.1 only allocates 64KB of stack for the program, this change reduces the buffer down to 16KB. If VirtualQuery fails, error out instead of letting uninitialized data on the stack determine stack limits. Win32 binaries with stack checking enabled now run properly in Windows 3.1.