[MLton-commit] r4228
   
    Matthew Fluet
     
    MLton@mlton.org
       
    Tue, 15 Nov 2005 15:10:47 -0800
    
    
  
Assert is always false on non-zero size
----------------------------------------------------------------------
U   mlton/trunk/runtime/Posix/ProcEnv/setgroups.c
----------------------------------------------------------------------
Modified: mlton/trunk/runtime/Posix/ProcEnv/setgroups.c
===================================================================
--- mlton/trunk/runtime/Posix/ProcEnv/setgroups.c	2005-11-15 22:01:32 UTC (rev 4227)
+++ mlton/trunk/runtime/Posix/ProcEnv/setgroups.c	2005-11-15 23:10:46 UTC (rev 4228)
@@ -8,7 +8,6 @@
 
         size = GC_arrayNumElements (groups);
         ARRAY (gid_t*, list, size);
-        assert (size <= cardof (list));
         for (i = 0; i < size; ++i)
                 list[i] = ((Word*)groups)[i];
         res = setgroups (size, list);