From b78e8d0afb7b08553456226350b3829a1853344d Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Sat, 20 Feb 1999 20:50:20 +0000 Subject: [PATCH] (memory_warnings) [WINDOWSNT]: Reset lim_data on each run, since size can vary from run to run. --- src/vm-limit.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/vm-limit.c b/src/vm-limit.c index b23beeb26e7..eb43e836bae 100644 --- a/src/vm-limit.c +++ b/src/vm-limit.c @@ -130,4 +130,9 @@ memory_warnings (start, warnfun) warn_function = warnfun; __after_morecore_hook = check_memory_limits; + +#ifdef WINDOWSNT + /* Force data limit to be recalculated on each run. */ + lim_data = 0; +#endif } -- 2.39.2