projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f50ce31
)
Fix a delimiter matching bug i introduced.
author
Glenn L McGrath
<bug1@ihug.co.nz>
Sun, 9 Mar 2003 15:40:40 +0000
(15:40 -0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Sun, 9 Mar 2003 15:40:40 +0000
(15:40 -0000)
editors/sed.c
patch
|
blob
|
history
diff --git
a/editors/sed.c
b/editors/sed.c
index ac765c83f3e67be5d0a8d6c700b16f9fb466e5e5..ddd4780d326932a54714507143b5f4358860414e 100644
(file)
--- 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];