RTFM for Arrays.copyOfRange()
Change-Id: Ie0d7bd95207aafb269f23974b8e90fa0b50fdb86
This commit is contained in:
@@ -218,7 +218,7 @@ public class Bootstrap extends NativeActivity
|
|||||||
while (argv.length > 0 &&
|
while (argv.length > 0 &&
|
||||||
argv[0].matches("[A-Z_]+=.*")) {
|
argv[0].matches("[A-Z_]+=.*")) {
|
||||||
putenv(argv[0]);
|
putenv(argv[0]);
|
||||||
argv = Arrays.copyOfRange(argv, 1, argv.length-1);
|
argv = Arrays.copyOfRange(argv, 1, argv.length);
|
||||||
}
|
}
|
||||||
|
|
||||||
// argv[0] will be replaced by android_main() in lo-bootstrap.c by the
|
// argv[0] will be replaced by android_main() in lo-bootstrap.c by the
|
||||||
|
Reference in New Issue
Block a user