]> granicus.if.org Git - vim/commitdiff
patch 8.2.4560: suspending with CTRL-Z does not work on DragonFlyBSD v8.2.4560
authorichizok <gclient.gaap@gmail.com>
Sun, 13 Mar 2022 17:27:38 +0000 (17:27 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 13 Mar 2022 17:27:38 +0000 (17:27 +0000)
Problem:    Suspending with CTRL-Z does not work on DragonFlyBSD.
Solution:   Adjust #ifdef. (Ozaki Kiichi, closes #9943)

src/os_unix.c
src/version.c

index e617b128faeb56a15b03b11e0f0f1e1887a130a1..5b516e0e8e22bf1c9b92ba24359fa9a88dc329c9 100644 (file)
@@ -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;
index a8a8a6475ae85ec60956d756e7a66a39cfd68027..a1107934d7021c8e628eafb38d80da542920c470 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4560,
 /**/
     4559,
 /**/