[PATCH 00/39] Windows port, base and archival/

Denys Vlasenko vda.linux at googlemail.com
Mon Apr 19 03:15:28 UTC 2010


On Sat, Apr 17, 2010 at 11:26 PM, Rob Landley <rob at landley.net> wrote:
> On Linux, or allnoconfig is 10k.  (I'm not sure _why_ it's 10k, I thought it
> used to be more like 5k, but oh well...)

Stdio has been linked in. The fix:

--- busybox.4/libbb/appletlib.c 2010-04-07 09:01:43.000000000 -0700
+++ busybox.5/libbb/appletlib.c 2010-04-18 17:56:37.852641576 -0700
@@ -105,7 +105,9 @@ static const char *unpack_usage_messages

 static void full_write2_str(const char *str)
 {
-       xwrite_str(STDERR_FILENO, str);
+       // This uses stdio:
+       //xwrite_str(STDERR_FILENO, str);
+       write(STDERR_FILENO, str, strlen(str));
 }

 void FAST_FUNC bb_show_usage(void)


-- 
vda


More information about the busybox mailing list