Deer all:
I think my patch can fix this problem.
diff -uprN original/init.h now/init.h
--- original/init.h 2009-03-11 14:27:20.000000000 +0800
+++ now/init.h 2009-03-11 14:29:32.000000000 +0800
@@ -136,14 +136,15 @@ struct service {
struct socketinfo *sockets;
struct svcenvinfo *envvars;
- int nargs;
- char *args[1];
struct action onrestart; /* Actions to execute on restart. */
/* keycodes for triggering this service via /dev/keychord */
int *keycodes;
int nkeycodes;
int keychord_id;
+
+ int nargs;
+ char *args[1] __attribute__ ((aligned (sizeof(char *))));
};
int parse_config_file(const char *fn);
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---