Skip to content

Commit

Permalink
patch 8.2.4560: suspending with CTRL-Z does not work on DragonFlyBSD
Browse files Browse the repository at this point in the history
Problem:    Suspending with CTRL-Z does not work on DragonFlyBSD.
Solution:   Adjust #ifdef. (Ozaki Kiichi, closes #9943)
  • Loading branch information
ichizok authored and brammool committed Mar 13, 2022
1 parent 533870a commit 5f823d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/os_unix.c
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -750,6 +750,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4560,
/**/
4559,
/**/
Expand Down

0 comments on commit 5f823d1

Please sign in to comment.