summaryrefslogtreecommitdiff
path: root/Src/init.c
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2024-09-14 19:21:58 +0200
committerOliver Kiddle <opk@zsh.org>2024-09-14 19:21:58 +0200
commit8dd271fdec526241ad3ed9c7f2641127a939893c (patch)
tree92680221d463f37953a13c9f91c70b7783532eab /Src/init.c
parent79593399c4bfa3eefb7eaa379fdc922b9c14c0df (diff)
downloadzsh-8dd271fdec526241ad3ed9c7f2641127a939893c.tar.gz
zsh-8dd271fdec526241ad3ed9c7f2641127a939893c.zip
53081: remove old BeOS support code
Diffstat (limited to 'Src/init.c')
-rw-r--r--Src/init.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/Src/init.c b/Src/init.c
index 8c7776c7a..70e878e20 100644
--- a/Src/init.c
+++ b/Src/init.c
@@ -695,7 +695,6 @@ init_io(char *cmd)
} else
opts[USEZLE] = 0;
-#ifdef JOB_CONTROL
/* If interactive, make sure the shell is in the foreground and is the
* process group leader.
*/
@@ -708,9 +707,6 @@ init_io(char *cmd)
acquire_pgrp(); /* might also clear opts[MONITOR] */
}
}
-#else
- opts[MONITOR] = 0;
-#endif
}
/**/
@@ -718,7 +714,7 @@ mod_export void
init_shout(void)
{
static char shoutbuf[BUFSIZ];
-#if defined(JOB_CONTROL) && defined(TIOCSETD) && defined(NTTYDISC)
+#if defined(TIOCSETD) && defined(NTTYDISC)
int ldisc;
#endif
@@ -729,7 +725,7 @@ init_shout(void)
return;
}
-#if defined(JOB_CONTROL) && defined(TIOCSETD) && defined(NTTYDISC)
+#if defined(TIOCSETD) && defined(NTTYDISC)
ldisc = NTTYDISC;
ioctl(SHTTY, TIOCSETD, (char *)&ldisc);
#endif