From: Andrew Innes Date: Sat, 20 Feb 1999 20:50:20 +0000 (+0000) Subject: (memory_warnings) [WINDOWSNT]: Reset lim_data on each X-Git-Tag: emacs-20.4~583 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b78e8d0afb7b08553456226350b3829a1853344d;p=emacs.git (memory_warnings) [WINDOWSNT]: Reset lim_data on each run, since size can vary from run to run. --- 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 }