On Sat, Apr 17, 2010 at 11:26 PM, Rob Landley <[email protected]> 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
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to