From: Denys Vlasenko Date: Fri, 11 Dec 2009 13:17:02 +0000 (+0100) Subject: stty: fix columns command. closes bug 791. X-Git-Tag: 1_16_0~150 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9f5a577a3241597cb5e7ba9f6df33c2e3c440e44;p=oweals%2Fbusybox.git stty: fix columns command. closes bug 791. Signed-off-by: Denys Vlasenko --- diff --git a/coreutils/stty.c b/coreutils/stty.c index 0485b8011..776a16a76 100644 --- a/coreutils/stty.c +++ b/coreutils/stty.c @@ -1360,6 +1360,7 @@ int stty_main(int argc UNUSED_PARAM, char **argv) #endif #ifdef TIOCGWINSZ case param_cols: + case param_columns: set_window_size(-1, xatoul_sfx(argnext, stty_suffixes)); break; case param_size: