To: vim_dev@googlegroups.com Subject: Patch 8.2.4532 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4532 Problem: Suspending with CTRL-Z does not work on OpenBSD. Solution: Adjust #ifdef for SIGTSTP. (Stuart Henderson, closes #9912) Files: src/os_unix.c *** ../vim-8.2.4531/src/os_unix.c 2022-02-27 12:31:48.591408426 +0000 --- src/os_unix.c 2022-03-09 14:27:12.630348171 +0000 *************** *** 887,894 **** else got_tstp = TRUE; ! #ifndef __ANDROID__ ! // this is not required on all systems signal(SIGTSTP, (RETSIGTYPE (*)())sig_tstp); #endif SIGRETURN; --- 887,895 ---- else got_tstp = TRUE; ! #if !defined(__ANDROID__) && !defined(__OpenBSD__) ! // This is not required on all systems. On some systems (at least Android ! // and OpenBSD) this breaks suspending with CTRL-Z. signal(SIGTSTP, (RETSIGTYPE (*)())sig_tstp); #endif SIGRETURN; *** ../vim-8.2.4531/src/version.c 2022-03-09 13:00:50.780824769 +0000 --- src/version.c 2022-03-09 14:27:21.802329186 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4532, /**/ -- msdn.microsoft.com: ERROR_SUCCESS 0 (0x0) The operation completed successfully. I have always suspected that for Microsoft success is an error. /// 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 ///