# HG changeset patch # User Bram Moolenaar # Date 1645965902 -3600 # Node ID 3505736858068a2522bd4e70ed1b3c16e263b5f2 # Parent 1a6a33c61e0d43feb26ce3b122ffcff27ef547e6 patch 8.2.4480: suspending with CTRL-Z does not work on Android Commit: https://github.com/vim/vim/commit/cbef12e60b2c5a4f026172ab9873deaab2e70cf2 Author: xtkoba <69125751+xtkoba@users.noreply.github.com> Date: Sun Feb 27 12:31:52 2022 +0000 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 https://github.com/vim/vim/issues/9854) diff --git a/src/os_unix.c b/src/os_unix.c --- 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 --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4480, +/**/ 4479, /**/ 4478,