diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-09-22 23:20:55 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-09-22 23:20:55 +0200 |
commit | 8a83e8d7b8ee8e639730da6ab05b0f216fbadec0 (patch) | |
tree | 131db6621aa9e664407af4fa5cdddb392de02a00 /package/busybox/busybox-1.15.1-sed.patch | |
parent | e7da301b4279c10b787c3b4b64e2ffc4abb13e50 (diff) | |
download | buildroot-novena-8a83e8d7b8ee8e639730da6ab05b0f216fbadec0.tar.gz buildroot-novena-8a83e8d7b8ee8e639730da6ab05b0f216fbadec0.zip |
busybox: 1.15.1 fixes
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.15.1-sed.patch')
-rw-r--r-- | package/busybox/busybox-1.15.1-sed.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.15.1-sed.patch b/package/busybox/busybox-1.15.1-sed.patch new file mode 100644 index 000000000..7042bf0eb --- /dev/null +++ b/package/busybox/busybox-1.15.1-sed.patch @@ -0,0 +1,15 @@ +diff -urpN busybox-1.15.1/editors/sed.c busybox-1.15.1-sed/editors/sed.c +--- busybox-1.15.1/editors/sed.c 2009-09-12 17:55:58.000000000 +0200 ++++ busybox-1.15.1-sed/editors/sed.c 2009-09-22 03:01:59.000000000 +0200 +@@ -690,10 +690,8 @@ static int do_subst_command(sed_cmd_t *s + if (sed_cmd->which_match) + break; + +- if (*line == '\0') +- break; + //maybe (G.regmatch[0].rm_eo ? REG_NOTBOL : 0) instead of unconditional REG_NOTBOL? +- } while (regexec(current_regex, line, 10, G.regmatch, REG_NOTBOL) != REG_NOMATCH); ++ } while (*line && regexec(current_regex, line, 10, G.regmatch, REG_NOTBOL) != REG_NOMATCH); + + /* Copy rest of string into output pipeline */ + while (1) { |