Mercurial > hg > aboriginal
changeset 996:bd6cc5603989
Fix busybox so the 2.6.33 mips kernel builds.
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 12 Mar 2010 02:52:58 -0600 |
parents | c867d05d8c4d |
children | 491eec5512dd |
files | sources/patches/busybox-wc.patch |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sources/patches/busybox-wc.patch Fri Mar 12 02:52:58 2010 -0600 @@ -0,0 +1,11 @@ +--- busybox.4/coreutils/wc.c ++++ busybox.5/coreutils/wc.c +@@ -88,6 +88,8 @@ int wc_main(int argc UNUSED_PARAM, char + if (!argv[0]) { + *--argv = (char *) bb_msg_standard_input; + fname_fmt = "\n"; ++ } ++ if (!argv[1]) { + if (!((print_type-1) & print_type)) /* exactly one option? */ + start_fmt = "%"COUNT_FMT; + }