[svn:parrot] r49254 - branches/typesafe_consttable/src

plobsing at svn.parrot.org plobsing at svn.parrot.org
Thu Sep 23 03:51:44 UTC 2010


Author: plobsing
Date: Thu Sep 23 03:51:43 2010
New Revision: 49254
URL: https://trac.parrot.org/parrot/changeset/49254

Log:
fix C++ build.
wtf, I didn't even touch that file!

Modified:
   branches/typesafe_consttable/src/main.c

Modified: branches/typesafe_consttable/src/main.c
==============================================================================
--- branches/typesafe_consttable/src/main.c	Thu Sep 23 03:38:47 2010	(r49253)
+++ branches/typesafe_consttable/src/main.c	Thu Sep 23 03:51:43 2010	(r49254)
@@ -398,9 +398,7 @@
             }
             break;
         }
-        /* don't overflow argv; check length first */
-        else if (argc > arg + 14
-             && !strncmp(arg, "--gc-threshold", 14)) {
+        else if (!strncmp(arg, "--gc-threshold", 14)) {
 
             if ((arg = strrchr(arg, '=')))
                 ++arg;


More information about the parrot-commits mailing list