svn commit: trunk/busybox/coreutils

aldot at busybox.net aldot at busybox.net
Sat Mar 18 23:05:39 UTC 2006


Author: aldot
Date: 2006-03-18 15:05:37 -0800 (Sat, 18 Mar 2006)
New Revision: 14568

Log:
- tito writes: this patch fixes some comments in dos2unix that are wrong
  or that reports non existent features (that i've ripped out...)


Modified:
   trunk/busybox/coreutils/dos2unix.c


Changeset:
Modified: trunk/busybox/coreutils/dos2unix.c
===================================================================
--- trunk/busybox/coreutils/dos2unix.c	2006-03-18 23:02:45 UTC (rev 14567)
+++ trunk/busybox/coreutils/dos2unix.c	2006-03-18 23:05:37 UTC (rev 14568)
@@ -7,8 +7,6 @@
  * All rights reserved.
  *
  * dos2unix filters reading input from stdin and writing output to stdout.
- * Without arguments it reverts the format (e.i. if source is in UNIX format,
- * output is in DOS format and vice versa).
  *
  *  Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
 */
@@ -94,9 +92,9 @@
 
 	/* See if we are supposed to be doing dos2unix or unix2dos */
 	if (argv[0][0]=='d') {
-	    ConvType = CT_DOS2UNIX;  /*1*/
+	    ConvType = CT_DOS2UNIX;  /*2*/
 	} else {
-	    ConvType = CT_UNIX2DOS;  /*2*/
+	    ConvType = CT_UNIX2DOS;  /*1*/
 	}
 	/* -u and -d are mutally exclusive */
 	bb_opt_complementally = "?:u--d:d--u";




More information about the busybox-cvs mailing list