From afe3a51bb50183da215624544ed5c76850cbc06b Mon Sep 17 00:00:00 2001 From: "Guillermo J. Rozas" Date: Tue, 21 Sep 1993 18:08:09 +0000 Subject: [PATCH] Add a kludge to prevent a double-fault under Windows 3.1 --- v7/src/microcode/nttrap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/microcode/nttrap.c b/v7/src/microcode/nttrap.c index b319e4fa7..3bf72e5ef 100644 --- a/v7/src/microcode/nttrap.c +++ b/v7/src/microcode/nttrap.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: nttrap.c,v 1.7 1993/09/21 17:54:10 gjr Exp $ +$Id: nttrap.c,v 1.8 1993/09/21 18:08:09 gjr Exp $ Copyright (c) 1992-1993 Massachusetts Institute of Technology @@ -1265,7 +1265,7 @@ DEFUN_VOID (winnt_stack_reset) boundary = ((((unsigned long) Stack_Guard) & (~ ((unsigned long) (PAGE_SIZE - 1)))) - - PAGE_SIZE); + - (2 * PAGE_SIZE)); if (stack_protected && (protected_stack_base == boundary)) return; winnt_unprotect_stack (); -- 2.25.1