harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odea...@apache.org
Subject svn commit: r693772 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
Date Wed, 10 Sep 2008 10:17:56 GMT
Author: odeakin
Date: Wed Sep 10 03:17:56 2008
New Revision: 693772

URL: http://svn.apache.org/viewvc?rev=693772&view=rev
Log:
Should compare 12 characters, not 11.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c?rev=693772&r1=693771&r2=693772&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c Wed
Sep 10 03:17:56 2008
@@ -519,7 +519,7 @@
   /* If there is already a classpath argument, we add our tools to it */
   for (i = 1; i < argc; i++) {
     if ((0 == strncmp (argv[i], "-J-cp", 5)) ||
-		(0 == strncmp (argv[i], "-J-classpath", 11))) {
+		(0 == strncmp (argv[i], "-J-classpath", 12))) {
       classpath = argv[++i];
 	  if (NULL == classpath) {
 		  return 1;



Mime
View raw message