]> granicus.if.org Git - vim/commitdiff
patch 8.2.4480: suspending with CTRL-Z does not work on Android v8.2.4480
authorxtkoba <69125751+xtkoba@users.noreply.github.com>
Sun, 27 Feb 2022 12:31:52 +0000 (12:31 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 27 Feb 2022 12:31:52 +0000 (12:31 +0000)
Problem:    Suspending with CTRL-Z does not work on Android.
Solution:   Do not handle SIGTSTP. (closes #9854)

src/os_unix.c
src/version.c

index d36eb46a2c474a20d00f3debbb92996d9104e6ea..58f8276fb595d20e177a9e82c6a011f63ea6d91d 100644 (file)
@@ -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
index a8c0bdc553228c1a6b6d94ff4b2bd370ef0601b8..b9b6aac63b168d1f3059d59ae236f0a74c6d359b 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4480,
 /**/
     4479,
 /**/