Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-03-09 18:40:40 +0300
committerGlenn L McGrath <bug1@ihug.co.nz>2003-03-09 18:40:40 +0300
commitf3bd7c4631b0489f93069bf4de127f74a88f90c9 (patch)
tree5465c384d527b4228e87fde4fadd4cc225744d72 /editors/sed.c
parentf50ce3135f347a863e45b974b0751e78cb610f83 (diff)
Fix a delimiter matching bug i introduced.
Diffstat (limited to 'editors/sed.c')
-rw-r--r--editors/sed.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/editors/sed.c b/editors/sed.c
index ac765c83f..ddd4780d3 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -193,6 +193,7 @@ static int get_address(char *delimiter, char *my_str, int *linenum, regex_t **re
else if (my_str[idx] == '/' || my_str[idx] == '\\') {
int idx_start = 1;
+ *delimiter = '/';
if (my_str[idx] == '\\') {
idx_start++;
*delimiter = my_str[++idx];