open-watcom/open-watcom-v2 — pull request #113 by joncampbell123 (2014-10-29 02:16:29+00:00)
Title: FIx: __init_stack_limits() assumptions too big for Windows 3.1

This patch reduces the "buffer zone" assumed by the stack limits code for Windows 3.1 to within the 64KB offered by Windows 3.1. It also calls __fatal_runtime_error() in the unlikely event that VirtualQuery fails since the returned structure is used to set limits.