┌──┤ apply Android patch from Jeff Hamilton:
│Don't alias 'stop' to 'kill -STOP' │ │Android has already has a stop command used │to stop the main runtime and the alias │interferes with testing tools that expect │stop to kill the runtime. │ │Change-Id: I02b7efb9203dc39e97f63eb702a54ff79935b316 Although, this is closer to his first patchset and only takes care of the alias, not the testsuite (which doesn’t run, at least not out-of-the-box, nicely anyway) using #ifdef ANDROID. We certainly want a more flexible testsuite…
This commit is contained in:
parent
4f671299f4
commit
dcbfc48855
4
main.c
4
main.c
@ -33,7 +33,7 @@
|
||||
#include <locale.h>
|
||||
#endif
|
||||
|
||||
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.170 2010/08/28 20:22:20 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.171 2010/09/14 21:00:13 tg Exp $");
|
||||
|
||||
extern char **environ;
|
||||
|
||||
@ -74,7 +74,9 @@ static const char *initcoms[] = {
|
||||
"hash=alias -t", /* not "alias -t --": hash -r needs to work */
|
||||
"type=whence -v",
|
||||
#ifndef MKSH_UNEMPLOYED
|
||||
#ifndef ANDROID
|
||||
"stop=kill -STOP",
|
||||
#endif
|
||||
"suspend=kill -STOP $$",
|
||||
#endif
|
||||
"autoload=typeset -fu",
|
||||
|
Loading…
x
Reference in New Issue
Block a user