mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 05:24:23 +01:00
19505: compilation with NTTYDISC defined was broken.
This commit is contained in:
parent
dc3fa4b407
commit
b8859fefcc
@ -1,3 +1,8 @@
|
||||
2004-03-01 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 19505: Src/init.c: compilation with NTTYDISC defined was
|
||||
broken.
|
||||
|
||||
2004-02-29 Doug Kearns <djkea2@mugca.its.monash.edu.au>
|
||||
|
||||
* unposted: Doc/Zsh/compsys.yo: fix typo
|
||||
|
@ -481,6 +481,9 @@ mod_export void
|
||||
init_shout(void)
|
||||
{
|
||||
static char shoutbuf[BUFSIZ];
|
||||
#if defined(JOB_CONTROL) && defined(TIOCSETD) && defined(NTTYDISC)
|
||||
int ldisc;
|
||||
#endif
|
||||
|
||||
if (SHTTY == -1)
|
||||
{
|
||||
@ -490,8 +493,7 @@ init_shout(void)
|
||||
}
|
||||
|
||||
#if defined(JOB_CONTROL) && defined(TIOCSETD) && defined(NTTYDISC)
|
||||
int ldisc = NTTYDISC;
|
||||
|
||||
ldisc = NTTYDISC;
|
||||
ioctl(SHTTY, TIOCSETD, (char *)&ldisc);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user