svn commit: trunk/busybox/libbb
vda at busybox.net
vda at busybox.net
Wed Jun 25 12:15:48 UTC 2008
Author: vda
Date: 2008-06-25 05:15:46 -0700 (Wed, 25 Jun 2008)
New Revision: 22505
Log:
busybox: do not print help to fd 2, print it to fd 1
otherwise this can break scripts
Modified:
trunk/busybox/libbb/appletlib.c
Changeset:
Modified: trunk/busybox/libbb/appletlib.c
===================================================================
--- trunk/busybox/libbb/appletlib.c 2008-06-25 11:01:42 UTC (rev 22504)
+++ trunk/busybox/libbb/appletlib.c 2008-06-25 12:15:46 UTC (rev 22505)
@@ -638,6 +638,7 @@
/* leading tab and room to wrap */
output_width -= MAX_APPLET_NAME_LEN + 8;
+ dup2(1, 2);
full_write2_str(bb_banner); /* reuse const string... */
full_write2_str(" multi-call binary\n"
"Copyright (C) 1998-2008 Erik Andersen, Rob Landley, Denys Vlasenko\n"
More information about the busybox-cvs
mailing list