]> git.eshelyaron.com Git - emacs.git/commitdiff
(memory_warnings) [WINDOWSNT]: Reset lim_data on each
authorAndrew Innes <andrewi@gnu.org>
Sat, 20 Feb 1999 20:50:20 +0000 (20:50 +0000)
committerAndrew Innes <andrewi@gnu.org>
Sat, 20 Feb 1999 20:50:20 +0000 (20:50 +0000)
run, since size can vary from run to run.

src/vm-limit.c

index b23beeb26e7710f16ba97624cf0c9fd88ff6d2a3..eb43e836bae62b2528b0e3d43d6fdeb5ff02226b 100644 (file)
@@ -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
 }