aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-09-15 04:55:29 +0000
committerbug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277>2003-09-15 04:55:29 +0000
commit2ce5c3c19090a754048b77434a58d58259f35e7c (patch)
tree2c46c53fff2fc3d63d3ec53c7288739d773713b5
parenteb35772120a48a0bb0aa61f8490f03c5331ca87d (diff)
downloadbusybox-w32-2ce5c3c19090a754048b77434a58d58259f35e7c.tar.gz
busybox-w32-2ce5c3c19090a754048b77434a58d58259f35e7c.tar.bz2
busybox-w32-2ce5c3c19090a754048b77434a58d58259f35e7c.zip
Fix recursion problem
git-svn-id: svn://busybox.net/trunk/busybox@7516 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--editors/sed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/sed.c b/editors/sed.c
index 43395b392..b73d660ed 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -1014,6 +1014,8 @@ static void process_file(FILE * file)
1014 } else { 1014 } else {
1015 sed_cmd = branch_to(sed_cmd->label); 1015 sed_cmd = branch_to(sed_cmd->label);
1016 } 1016 }
1017 /* Reset the substitution flag */
1018 substituted = 0;
1017 } 1019 }
1018 break; 1020 break;
1019 case 'y':{ 1021 case 'y':{