fix regression w.r.t. TTY and external programmes:

• release the TTY after the initial change_winsz()
• since we release it, we can skip initialising tty_state, too
This commit is contained in:
tg
2012-03-25 14:28:14 +00:00
parent 5dd5edea1a
commit 87654270ab
3 changed files with 7 additions and 6 deletions

4
sh.h
View File

@ -152,9 +152,9 @@
#endif
#ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.527 2012/03/24 21:22:25 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.528 2012/03/25 14:28:14 tg Exp $");
#endif
#define MKSH_VERSION "R40 2012/03/24"
#define MKSH_VERSION "R40 2012/03/25"
/* arithmetic types: C implementation */
#if !HAVE_CAN_INTTYPES