From: xtkoba <69125751+xtkoba@users.noreply.github.com> Date: Sun, 27 Feb 2022 12:31:52 +0000 (+0000) Subject: patch 8.2.4480: suspending with CTRL-Z does not work on Android X-Git-Tag: v8.2.4480 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=cbef12e60b2c5a4f026172ab9873deaab2e70cf2;p=thirdparty%2Fvim.git 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) --- diff --git a/src/os_unix.c b/src/os_unix.c index d36eb46a2c..58f8276fb5 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -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 diff --git a/src/version.c b/src/version.c index a8c0bdc553..b9b6aac63b 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4480, /**/ 4479, /**/