svn commit: trunk/busybox: archival networking

vda at busybox.net vda at busybox.net
Tue Oct 16 03:47:28 PDT 2007


Author: vda
Date: 2007-10-16 03:47:27 -0700 (Tue, 16 Oct 2007)
New Revision: 20263

Log:
bzip2: make -s equivalent to -2 (compatible with standard bzip2)
telnetd: typo fix in comment



Modified:
   trunk/busybox/archival/bzip2.c
   trunk/busybox/networking/telnetd.c


Changeset:
Modified: trunk/busybox/archival/bzip2.c
===================================================================
--- trunk/busybox/archival/bzip2.c	2007-10-15 22:09:15 UTC (rev 20262)
+++ trunk/busybox/archival/bzip2.c	2007-10-16 10:47:27 UTC (rev 20263)
@@ -182,6 +182,7 @@
 	 * --best        alias for -9
 	 */
 
+	opt_complementary = "s2"; /* -s means -2 (compatibility) */
 	/* Must match bbunzip's constants OPT_STDOUT, OPT_FORCE! */
 	opt = getopt32(argv, "cfv" USE_BUNZIP2("d") "123456789qzs" );
 #if ENABLE_BUNZIP2 /* bunzip2_main may not be visible... */

Modified: trunk/busybox/networking/telnetd.c
===================================================================
--- trunk/busybox/networking/telnetd.c	2007-10-15 22:09:15 UTC (rev 20262)
+++ trunk/busybox/networking/telnetd.c	2007-10-16 10:47:27 UTC (rev 20263)
@@ -415,7 +415,7 @@
 		/*bb_error_msg("listening for connections");*/
 		if (!(opt & OPT_FOREGROUND)) {
 			/* DAEMON_CHDIR_ROOT was giving inconsistent
-			 * behavior with/wthout -F, -i */
+			 * behavior with/without -F, -i */
 			bb_daemonize_or_rexec(0 /*DAEMON_CHDIR_ROOT*/, argv);
 		}
 	}



More information about the busybox-cvs mailing list