You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by py...@apache.org on 2007/03/12 06:42:18 UTC
svn commit: r517104 -
/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/launcher/shared/main.c
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];