Fredrik Fornwall
10 years ago
2 changed files with 24 additions and 1 deletions
@ -0,0 +1,23 @@ |
|||
This call just slow things done noticably (and permission is denied). |
|||
|
|||
diff -u -r ../zsh-5.0.8/Src/init.c ./Src/init.c
|
|||
--- ../zsh-5.0.8/Src/init.c 2015-04-26 16:31:15.000000000 -0400
|
|||
+++ ./Src/init.c 2015-07-11 17:51:00.761656735 -0400
|
|||
@@ -631,7 +631,7 @@
|
|||
init_shout(void) |
|||
{ |
|||
static char shoutbuf[BUFSIZ]; |
|||
-#if defined(JOB_CONTROL) && defined(TIOCSETD) && defined(NTTYDISC)
|
|||
+#if defined(JOB_CONTROL) && defined(TIOCSETD) && defined(NTTYDISC) && !defined(__ANDROID__)
|
|||
int ldisc; |
|||
#endif |
|||
|
|||
@@ -642,7 +642,7 @@
|
|||
return; |
|||
} |
|||
|
|||
-#if defined(JOB_CONTROL) && defined(TIOCSETD) && defined(NTTYDISC)
|
|||
+#if defined(JOB_CONTROL) && defined(TIOCSETD) && defined(NTTYDISC) && !defined(__ANDROID__)
|
|||
ldisc = NTTYDISC; |
|||
ioctl(SHTTY, TIOCSETD, (char *)&ldisc); |
|||
#endif |
Loading…
Reference in new issue