| 1 | This call just slow things done noticably (and permission is denied). |
| 2 | |
| 3 | diff -u -r ../zsh-5.0.8/Src/init.c ./Src/init.c |
| 4 | --- ../zsh-5.0.8/Src/init.c 2015-04-26 16:31:15.000000000 -0400 |
| 5 | +++ ./Src/init.c 2015-07-11 17:51:00.761656735 -0400 |
| 6 | @@ -631,7 +631,7 @@ |
| 7 | init_shout(void) |
| 8 | { |
| 9 | static char shoutbuf[BUFSIZ]; |
| 10 | -#if defined(JOB_CONTROL) && defined(TIOCSETD) && defined(NTTYDISC) |
| 11 | +#if defined(JOB_CONTROL) && defined(TIOCSETD) && defined(NTTYDISC) && !defined(__ANDROID__) |
| 12 | int ldisc; |
| 13 | #endif |
| 14 | |
| 15 | @@ -642,7 +642,7 @@ |
| 16 | return; |
| 17 | } |
| 18 | |
| 19 | -#if defined(JOB_CONTROL) && defined(TIOCSETD) && defined(NTTYDISC) |
| 20 | +#if defined(JOB_CONTROL) && defined(TIOCSETD) && defined(NTTYDISC) && !defined(__ANDROID__) |
| 21 | ldisc = NTTYDISC; |
| 22 | ioctl(SHTTY, TIOCSETD, (char *)&ldisc); |
| 23 | #endif |