[BusyBox-cvs] busybox/editors sed.c,1.101,1.102

Glenn McGrath bug1 at busybox.net
Sun Mar 9 15:40:44 UTC 2003


Update of /var/cvs/busybox/editors
In directory winder:/tmp/cvs-serv8833/editors

Modified Files:
	sed.c 
Log Message:
Fix a delimiter matching bug i introduced.


Index: sed.c
===================================================================
RCS file: /var/cvs/busybox/editors/sed.c,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -d -r1.101 -r1.102
--- sed.c	9 Mar 2003 15:12:24 -0000	1.101
+++ sed.c	9 Mar 2003 15:40:40 -0000	1.102
@@ -193,6 +193,7 @@
 	else if (my_str[idx] == '/' || my_str[idx] == '\\') {
 		int idx_start = 1;
 
+		*delimiter = '/';
 		if (my_str[idx] == '\\') {
 			idx_start++;
 			*delimiter = my_str[++idx];




More information about the busybox-cvs mailing list