diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2008-05-06 21:49:59 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2008-05-06 21:49:59 +0000 |
commit | 014b0d864d7a1c44ae14d651c5a683697450d522 (patch) | |
tree | 064cfd3e644506263f2f6b7721670e1273c2a378 /chinese/ve | |
parent | 479ac4063c2a2cbe07c5647e90b5d47a84099cb8 (diff) | |
download | ports-014b0d864d7a1c44ae14d651c5a683697450d522.tar.gz ports-014b0d864d7a1c44ae14d651c5a683697450d522.zip |
- Unbreak build after tty changes
Submitted by: Ed Schouten <ed@80386.nl>
Notes
Notes:
svn path=/head/; revision=212752
Diffstat (limited to 'chinese/ve')
-rw-r--r-- | chinese/ve/files/patch-term.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chinese/ve/files/patch-term.c b/chinese/ve/files/patch-term.c index 7d915c6dfb45..29f3a625f47a 100644 --- a/chinese/ve/files/patch-term.c +++ b/chinese/ve/files/patch-term.c @@ -41,8 +41,7 @@ - - tty_new.c_lflag &= ~(ICANON | ECHO | RAW | ISIG); - tcsetattr(1, TCSANOW, &tty_new); -+ tty_new.c_lflag &= ~(ICANON | ECHO | ISIG); - restore_tty(); +- restore_tty(); - -#else - @@ -54,7 +53,8 @@ - tty_new.sg_flags &= ~(TANDEM | CBREAK | LCASE | ECHO | CRMOD); -#endif - -- stty(1, &tty_new); ++ tty_new.c_lflag &= ~(ICANON | ECHO | ISIG); + stty(1, &tty_new); -#endif } |