mirror of
https://github.com/vim/vim.git
synced 2025-10-02 05:04:20 -04:00
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)
This commit is contained in:
@@ -887,9 +887,9 @@ sig_tstp SIGDEFARG(sigarg)
|
|||||||
else
|
else
|
||||||
got_tstp = TRUE;
|
got_tstp = TRUE;
|
||||||
|
|
||||||
#if !defined(__ANDROID__) && !defined(__OpenBSD__)
|
#if !defined(__ANDROID__) && !defined(__OpenBSD__) && !defined(__DragonFly__)
|
||||||
// This is not required on all systems. On some systems (at least Android
|
// This is not required on all systems. On some systems (at least Android,
|
||||||
// and OpenBSD) this breaks suspending with CTRL-Z.
|
// OpenBSD, and DragonFlyBSD) this breaks suspending with CTRL-Z.
|
||||||
signal(SIGTSTP, (RETSIGTYPE (*)())sig_tstp);
|
signal(SIGTSTP, (RETSIGTYPE (*)())sig_tstp);
|
||||||
#endif
|
#endif
|
||||||
SIGRETURN;
|
SIGRETURN;
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
4560,
|
||||||
/**/
|
/**/
|
||||||
4559,
|
4559,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user