projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(username_completion_function) [__GO32__]: Don't bypass getpw* calls.
[external/binutils.git]
/
readline
/
rltty.c
diff --git
a/readline/rltty.c
b/readline/rltty.c
index
a5ef938
..
2c7e886
100644
(file)
--- 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)
{