From: Rob Landley Date: Fri, 2 Sep 2005 00:10:06 +0000 (-0000) Subject: Missing break was screwing up 'y//' command. Bug #248. X-Git-Tag: 1_1_0~791 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=babd3fbba668e04841cbe683ca49097fb871fca8;p=oweals%2Fbusybox.git Missing break was screwing up 'y//' command. Bug #248. --- diff --git a/editors/sed.c b/editors/sed.c index a0a127e2b..166e837da 100644 --- 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; } } }