diff options
author | Denis Vlasenko | 2007-05-20 17:01:14 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-05-20 17:01:14 +0000 |
commit | b32502da83ff7e7241a4584c88f3a35859dfeeda (patch) | |
tree | 7dcdaf2b3940b86ca74f185cdb5dedfdc385c8d2 /procps/ps.c | |
parent | 568d8c9a5cb05a595b4201198fd3c780920586dc (diff) | |
download | busybox-b32502da83ff7e7241a4584c88f3a35859dfeeda.zip busybox-b32502da83ff7e7241a4584c88f3a35859dfeeda.tar.gz |
applied post-1.5.0 fixes1_5_1
Diffstat (limited to 'procps/ps.c')
-rw-r--r-- | procps/ps.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/procps/ps.c b/procps/ps.c index c1cb643..2be0b36 100644 --- a/procps/ps.c +++ b/procps/ps.c @@ -262,7 +262,9 @@ int ps_main(int argc, char **argv) parse_o(default_o); post_process(); - terminal_width = INT_MAX; + /* Was INT_MAX, but some libc's go belly up with printf("%.*s") + * and such large widths */ + terminal_width = 30000; if (isatty(1)) { get_terminal_width_height(1, &terminal_width, NULL); terminal_width--; |