forked from aniani/vim
patch 8.2.4480: suspending with CTRL-Z does not work on Android
Problem: Suspending with CTRL-Z does not work on Android. Solution: Do not handle SIGTSTP. (closes #9854)
This commit is contained in:
@@ -887,8 +887,10 @@ sig_tstp SIGDEFARG(sigarg)
|
||||
else
|
||||
got_tstp = TRUE;
|
||||
|
||||
// this is not required on all systems, but it doesn't hurt anybody
|
||||
#ifndef __ANDROID__
|
||||
// this is not required on all systems
|
||||
signal(SIGTSTP, (RETSIGTYPE (*)())sig_tstp);
|
||||
#endif
|
||||
SIGRETURN;
|
||||
}
|
||||
#endif
|
||||
|
@@ -754,6 +754,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4480,
|
||||
/**/
|
||||
4479,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user