# HG changeset patch # User Bram Moolenaar # Date 1647192603 -3600 # Node ID 31b866686e3374768da27c733b0fb3b5fdbd1ebb # Parent 2e92f35e97f68b9db3a2e7ad9b6a74eab264c13b patch 8.2.4560: suspending with CTRL-Z does not work on DragonFlyBSD Commit: https://github.com/vim/vim/commit/5f823d1e73bdcc9417581b6b3587648a5bb98709 Author: ichizok Date: Sun Mar 13 17:27:38 2022 +0000 patch 8.2.4560: suspending with CTRL-Z does not work on DragonFlyBSD Problem: Suspending with CTRL-Z does not work on DragonFlyBSD. Solution: Adjust #ifdef. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/9943) diff --git a/src/os_unix.c b/src/os_unix.c --- a/src/os_unix.c +++ b/src/os_unix.c @@ -887,9 +887,9 @@ sig_tstp SIGDEFARG(sigarg) 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. +#if !defined(__ANDROID__) && !defined(__OpenBSD__) && !defined(__DragonFly__) + // This is not required on all systems. On some systems (at least Android, + // OpenBSD, and DragonFlyBSD) 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 */ /**/ + 4560, +/**/ 4559, /**/ 4558,