# HG changeset patch # User Bram Moolenaar # Date 1646837102 -3600 # Node ID 6f6d55367abb5f4b9cf175681ec616659a01b3e2 # Parent ff499edf1c9644c209f7891f67858f7c2a532a31 patch 8.2.4532: suspending with CTRL-Z does not work on OpenBSD Commit: https://github.com/vim/vim/commit/f2832ad9653815103b39daf873511baa37424d3d Author: Stuart Henderson Date: Wed Mar 9 14:33:02 2022 +0000 patch 8.2.4532: suspending with CTRL-Z does not work on OpenBSD Problem: Suspending with CTRL-Z does not work on OpenBSD. Solution: Adjust #ifdef for SIGTSTP. (Stuart Henderson, closes https://github.com/vim/vim/issues/9912) 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,9 @@ sig_tstp SIGDEFARG(sigarg) else got_tstp = TRUE; -#ifndef __ANDROID__ - // this is not required on all systems +#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; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4532, +/**/ 4531, /**/ 4530,