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:
ba5eb27
)
Fix recursion problem
author
Glenn L McGrath
<bug1@ihug.co.nz>
Mon, 15 Sep 2003 04:55:29 +0000
(
04:55
-0000)
committer
Glenn L McGrath
<bug1@ihug.co.nz>
Mon, 15 Sep 2003 04:55:29 +0000
(
04:55
-0000)
editors/sed.c
patch
|
blob
|
history
diff --git
a/editors/sed.c
b/editors/sed.c
index 43395b392cfb5f6b8fc9edac8f7f34ce7ff968e0..b73d660ed7aa84de0f266ede6e85624d8d15ed6c 100644
(file)
--- a/
editors/sed.c
+++ b/
editors/sed.c
@@
-1014,6
+1014,8
@@
static void process_file(FILE * file)
} else {
sed_cmd = branch_to(sed_cmd->label);
}
+ /* Reset the substitution flag */
+ substituted = 0;
}
break;
case 'y':{