[BusyBox-cvs] busybox/coreutils cut.c,1.26,1.27

Erik Andersen andersen at busybox.net
Fri Jun 20 09:16:03 UTC 2003


Update of /var/cvs/busybox/coreutils
In directory winder:/tmp/cvs-serv15219/coreutils

Modified Files:
	cut.c 
Log Message:
Add prototype update missing from last_patch89.  Fix screwy
formatting in cut.


Index: cut.c
===================================================================
RCS file: /var/cvs/busybox/coreutils/cut.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- cut.c	20 Jun 2003 09:01:52 -0000	1.26
+++ cut.c	20 Jun 2003 09:16:00 -0000	1.27
@@ -1,3 +1,4 @@
+/* vi: set sw=8 ts=8: */
 /*
  * cut.c - minimalist version of cut
  *
@@ -300,12 +301,12 @@
 	if(part == 0)
 		bb_error_msg_and_die("you must specify a list of bytes, characters, or fields");
 	if(opt & 0x80000000UL)
-					bb_error_msg_and_die("only one type of list may be specified");
+		bb_error_msg_and_die("only one type of list may be specified");
 	parse_lists(sopt);
 	if((opt & (OPT_DELIM_FLGS))) {
 		if (strlen(sdopt) > 1) {
-					bb_error_msg_and_die("the delimiter must be a single character");
-				}
+			bb_error_msg_and_die("the delimiter must be a single character");
+		}
 		delim = sdopt[0];
 	}
 	supress_non_delimited_lines = opt & OPT_SUPRESS_FLGS;



More information about the busybox-cvs mailing list