Mercurial > vim
changeset 27910:350573685806 v8.2.4480
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 27 Feb 2022 13:45:02 +0100 |
parents | 1a6a33c61e0d |
children | 6e69dfe788ba |
files | src/os_unix.c src/version.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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