To: vim_dev@googlegroups.com Subject: Patch 8.2.4480 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4480 Problem: Suspending with CTRL-Z does not work on Android. Solution: Do not handle SIGTSTP. (closes #9854) Files: src/os_unix.c *** ../vim-8.2.4479/src/os_unix.c 2022-02-23 18:07:34.365914989 +0000 --- src/os_unix.c 2022-02-27 12:27:49.184268710 +0000 *************** *** 887,894 **** else got_tstp = TRUE; ! // this is not required on all systems, but it doesn't hurt anybody signal(SIGTSTP, (RETSIGTYPE (*)())sig_tstp); SIGRETURN; } #endif --- 887,896 ---- else got_tstp = TRUE; ! #ifndef __ANDROID__ ! // this is not required on all systems signal(SIGTSTP, (RETSIGTYPE (*)())sig_tstp); + #endif SIGRETURN; } #endif *** ../vim-8.2.4479/src/version.c 2022-02-27 12:07:26.670960392 +0000 --- src/version.c 2022-02-27 12:24:31.692939753 +0000 *************** *** 756,757 **** --- 756,759 ---- { /* Add new patch number below this line */ + /**/ + 4480, /**/ -- FIXME and XXX are two common keywords used to mark broken or incomplete code not only since XXX as a sex reference would grab everybody's attention but simply due to the fact that Vim would highlight these words. -- Hendrik Scholz /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///