[MLton-commit] r4520

Wesley Terpstra MLton@mlton.org
Wed, 10 May 2006 09:04:18 -0700


The GC uses a new name for this method
----------------------------------------------------------------------

U   mlton/branches/on-20050822-x86_64-branch/runtime/basis/MLton/Process/spawne.c

----------------------------------------------------------------------

Modified: mlton/branches/on-20050822-x86_64-branch/runtime/basis/MLton/Process/spawne.c
===================================================================
--- mlton/branches/on-20050822-x86_64-branch/runtime/basis/MLton/Process/spawne.c	2006-05-10 15:17:45 UTC (rev 4519)
+++ mlton/branches/on-20050822-x86_64-branch/runtime/basis/MLton/Process/spawne.c	2006-05-10 16:04:17 UTC (rev 4520)
@@ -15,9 +15,9 @@
   path = (const char *) p;
   args = (const char **) a;
   env = (const char **) e;
-  an = GC_arrayNumElements((pointer)a) - 1;
+  an = GC_getArrayLength((pointer)a) - 1;
   asaved = args[an];
-  en = GC_arrayNumElements((pointer)e) - 1;
+  en = GC_getArrayLength((pointer)e) - 1;
   esaved = env[en];
   args[an] = (const char *) NULL;
   env[en] = (const char *) NULL;