summaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox-1.5.0-ps.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2007-04-05 07:04:31 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2007-04-05 07:04:31 +0000
commit27950be974ee73eebf79863e1d8bccd35cdaec45 (patch)
tree0fe78d95d44a874d646249dcd9fd5e6f87c8da9c /package/busybox/busybox-1.5.0-ps.patch
parent8ca4af140c6af66b4701f021ccd3699f3eb17bef (diff)
downloadbuildroot-novena-27950be974ee73eebf79863e1d8bccd35cdaec45.tar.gz
buildroot-novena-27950be974ee73eebf79863e1d8bccd35cdaec45.zip
busybox 1.5.0 patches
Diffstat (limited to 'package/busybox/busybox-1.5.0-ps.patch')
-rw-r--r--package/busybox/busybox-1.5.0-ps.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.5.0-ps.patch b/package/busybox/busybox-1.5.0-ps.patch
new file mode 100644
index 000000000..fcd35e2dd
--- /dev/null
+++ b/package/busybox/busybox-1.5.0-ps.patch
@@ -0,0 +1,13 @@
+--- busybox-1.5.0/procps/ps.c Thu Mar 22 22:21:37 2007
++++ busybox-1.5.0-ps/procps/ps.c Wed Mar 28 23:57:34 2007
+@@ -262,7 +262,9 @@
+ 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--;