diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2012-04-26 00:15:23 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2012-04-29 10:51:14 +0200 |
commit | b59f9e1562395411d10b8137ffd69e0ab573c6e2 (patch) | |
tree | f854ac639d00697648c06c7ce26b3620f682409d /package/busybox/busybox-1.20.0/busybox-1.20.0-sed.patch | |
parent | 524a8ab35cb955060f83649989ef769e8988d02f (diff) | |
download | buildroot-novena-b59f9e1562395411d10b8137ffd69e0ab573c6e2.tar.gz buildroot-novena-b59f9e1562395411d10b8137ffd69e0ab573c6e2.zip |
busybox: add new 1.20.0, remove deprecated, mark 1.18.x deprecated
Add version 1.20.0, remove deprecated 1.16.x & 1.17.x versions and mark
1.18.x as deprecated.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.20.0/busybox-1.20.0-sed.patch')
-rw-r--r-- | package/busybox/busybox-1.20.0/busybox-1.20.0-sed.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.20.0/busybox-1.20.0-sed.patch b/package/busybox/busybox-1.20.0/busybox-1.20.0-sed.patch new file mode 100644 index 000000000..70dc63f46 --- /dev/null +++ b/package/busybox/busybox-1.20.0/busybox-1.20.0-sed.patch @@ -0,0 +1,29 @@ +--- busybox-1.20.0/editors/sed.c ++++ busybox-1.20.0-sed/editors/sed.c +@@ -743,7 +743,7 @@ static int do_subst_command(sed_cmd_t *s + */ + if (!G.regmatch[0].rm_so && !G.regmatch[0].rm_eo && match_count) { + pipe_putc(*line++); +- continue; ++ goto next; + } + + match_count++; +@@ -755,7 +755,7 @@ static int do_subst_command(sed_cmd_t *s + ) { + for (i = 0; i < G.regmatch[0].rm_eo; i++) + pipe_putc(*line++); +- continue; ++ goto next; + } + + /* print everything before the match */ +@@ -773,7 +773,7 @@ static int do_subst_command(sed_cmd_t *s + /* if we're not doing this globally, get out now */ + if (sed_cmd->which_match != 0) + break; +- ++ next: + if (*line == '\0') + break; + |