[BusyBox-cvs] busybox.stable sed.c,1.83,1.84

Erik Andersen andersen at busybox.net
Sun Jan 4 06:47:51 UTC 2004


Update of /var/cvs/busybox.stable
In directory nail:/tmp/cvs-serv13021

Modified Files:
	sed.c 
Log Message:
backport minor thinko fix from Rob Landley


Index: sed.c
===================================================================
RCS file: /var/cvs/busybox.stable/sed.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- sed.c	23 Dec 2003 21:49:12 -0000	1.83
+++ sed.c	4 Jan 2004 06:47:48 -0000	1.84
@@ -418,10 +418,10 @@
 				sed_cmd->which_match=(unsigned short)strtol(substr+idx,&pos,10);
 				idx=pos-substr;
 			}
-			/* Skip spaces */
-			if(isspace(substr[idx])) continue;
 			continue;
 		}
+		/* Skip spaces */
+		if(isspace(substr[idx])) continue;
 		switch (substr[idx]) {
 			/* Replace all occurrences */
 			case 'g':




More information about the busybox-cvs mailing list