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:
92255d6
)
Missing break was screwing up 'y//' command. Bug #248.
author
Rob Landley
<rob@landley.net>
Fri, 2 Sep 2005 00:10:06 +0000
(
00:10
-0000)
committer
Rob Landley
<rob@landley.net>
Fri, 2 Sep 2005 00:10:06 +0000
(
00:10
-0000)
editors/sed.c
patch
|
blob
|
history
diff --git
a/editors/sed.c
b/editors/sed.c
index a0a127e2b758f396cbccc320998e97e9e49a5e3d..166e837da12512e3d639ad4b9f2243687d571f69 100644
(file)
--- a/
editors/sed.c
+++ b/
editors/sed.c
@@
-1025,6
+1025,7
@@
restart:
for (j = 0; sed_cmd->string[j]; j += 2) {
if (pattern_space[i] == sed_cmd->string[j]) {
pattern_space[i] = sed_cmd->string[j + 1];
+ break;
}
}
}