diff options
author | Jason Molenda <jmolenda@apple.com> | 1999-08-16 19:57:18 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 1999-08-16 19:57:18 +0000 |
commit | d18570046c8cbacd074c2765813c06e541893f86 (patch) | |
tree | fa9912afb84d81fca035ad93102120b86f32c79c /readline/rltty.c | |
parent | c862e87b3ec8647ab6c1bb08443088ea81c74225 (diff) | |
download | gdb-d18570046c8cbacd074c2765813c06e541893f86.zip gdb-d18570046c8cbacd074c2765813c06e541893f86.tar.gz gdb-d18570046c8cbacd074c2765813c06e541893f86.tar.bz2 |
import gdb-1999-08-16 snapshot
Diffstat (limited to 'readline/rltty.c')
-rw-r--r-- | readline/rltty.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/readline/rltty.c b/readline/rltty.c index a5ef938..2c7e886 100644 --- a/readline/rltty.c +++ b/readline/rltty.c @@ -189,7 +189,9 @@ get_tty_settings (tty, tiop) int tty; TIOTYPE *tiop; { +#if defined (TIOCGWINSZ) set_winsize (tty); +#endif tiop->flags = tiop->lflag = 0; @@ -388,7 +390,9 @@ get_tty_settings (tty, tiop) { int ioctl_ret; +#if defined (TIOCGWINSZ) set_winsize (tty); +#endif while (1) { |