[MLton-commit] r6557
Matthew Fluet
fluet at mlton.org
Mon Apr 7 11:55:31 PDT 2008
Fix argument checking for thread-max-reserved.
----------------------------------------------------------------------
U mlton/trunk/runtime/gc/init.c
----------------------------------------------------------------------
Modified: mlton/trunk/runtime/gc/init.c
===================================================================
--- mlton/trunk/runtime/gc/init.c 2008-04-07 18:55:28 UTC (rev 6556)
+++ mlton/trunk/runtime/gc/init.c 2008-04-07 18:55:30 UTC (rev 6557)
@@ -203,7 +203,7 @@
if (i == argc)
die ("@MLton thread-max-reserved-ratio missing argument.");
s->controls.ratios.threadMaxReserved = stringToFloat (argv[i++]);
- unless (1.0 < s->controls.ratios.threadGrow)
+ unless (1.0 < s->controls.ratios.threadMaxReserved)
die ("@MLton thread-max-reserved-ratio argument must greater than 1.0.");
} else if (0 == strcmp (arg, "thread-shrink-ratio")) {
i++;
More information about the MLton-commit
mailing list