harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r517104 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
Date Mon, 12 Mar 2007 05:42:18 GMT
Author: pyang
Date: Sun Mar 11 22:42:17 2007
New Revision: 517104

URL: http://svn.apache.org/viewvc?view=rev&rev=517104
Log:
apply patch for HARMONY-3334([classlib][luni-native] Native Method XXX_transferImpl in luni/src/main/native/luni/unix/OSFileSystemLinux32.c
did not handle endian properly)

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?view=diff&rev=517104&r1=517103&r2=517104
==============================================================================
--- 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 Sun
Mar 11 22:42:17 2007
@@ -933,6 +933,15 @@
               options[j].optionString = classPath;
               i++;              /*skip next arguement */
             }
+          //TODO: we may find more non-standard options later, and they need to be converted
like below
+          //probably we need to record all these options in a properties file
+          else if (strcmp(argv[i], "-verify")==0)
+            {
+              char *replaceString = hymem_allocate_memory(strlen("-verify")+2); 
+              strcpy(replaceString, "-X");
+              strcat(replaceString, "verify");
+              options[j].optionString = replaceString;
+            }
           else
             {
               options[j].optionString = argv[i];



Mime
View raw message