From: ichizok Date: Sun, 13 Mar 2022 17:27:38 +0000 (+0000) Subject: patch 8.2.4560: suspending with CTRL-Z does not work on DragonFlyBSD X-Git-Tag: v8.2.4560 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5f823d1e73bdcc9417581b6b3587648a5bb98709;p=vim 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 #9943) --- diff --git a/src/os_unix.c b/src/os_unix.c index e617b128f..5b516e0e8 100644 --- 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 index a8a8a6475..a1107934d 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4560, /**/ 4559, /**/