mirror of
https://git.savannah.gnu.org/git/screen.git
synced 2026-04-20 18:56:50 +02:00
DO_NOT_POLL_MASTER is never defined.
This commit is contained in:
committed by
Sadrul Habib Chowdhury
parent
33b3deae2b
commit
f5ef12ef83
@@ -403,9 +403,7 @@ int how;
|
||||
}
|
||||
|
||||
|
||||
#if defined(DEBUG) || !defined(DO_NOT_POLL_MASTER)
|
||||
static int AttacherPanic = 0;
|
||||
#endif
|
||||
|
||||
#ifdef DEBUG
|
||||
static sigret_t
|
||||
@@ -595,7 +593,6 @@ Attacher()
|
||||
#endif
|
||||
for (;;)
|
||||
{
|
||||
#ifndef DO_NOT_POLL_MASTER
|
||||
signal(SIGALRM, AttacherSigAlarm);
|
||||
alarm(15);
|
||||
pause();
|
||||
@@ -605,10 +602,6 @@ Attacher()
|
||||
debug1("attacher: Panic! MasterPid %d does not exist.\n", MasterPid);
|
||||
AttacherPanic++;
|
||||
}
|
||||
#else
|
||||
pause();
|
||||
#endif
|
||||
#if defined(DEBUG) || !defined(DO_NOT_POLL_MASTER)
|
||||
if (AttacherPanic)
|
||||
{
|
||||
fcntl(0, F_SETFL, 0);
|
||||
@@ -616,7 +609,6 @@ Attacher()
|
||||
printf("\nSuddenly the Dungeon collapses!! - You die...\n");
|
||||
eexit(1);
|
||||
}
|
||||
#endif
|
||||
#ifdef BSDJOBS
|
||||
if (SuspendPlease)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user