[git commit master] remove stdio from allnoconfig build

Denys Vlasenko vda.linux at googlemail.com
Mon Apr 19 03:16:11 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=43b094b584d8e24406bb819e056c9ce618167ee8
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 libbb/appletlib.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 2d52c3d..7a5e7ae 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -105,7 +105,9 @@ static const char *unpack_usage_messages(void)
 
 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)
-- 
1.6.3.3



More information about the busybox-cvs mailing list