summaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox-1.5.0-sed.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/busybox/busybox-1.5.0-sed.patch')
-rw-r--r--package/busybox/busybox-1.5.0-sed.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.5.0-sed.patch b/package/busybox/busybox-1.5.0-sed.patch
new file mode 100644
index 000000000..414883c86
--- /dev/null
+++ b/package/busybox/busybox-1.5.0-sed.patch
@@ -0,0 +1,11 @@
+--- busybox-1.5.0/editors/sed.c Thu Mar 22 22:21:38 2007
++++ busybox-1.5.0-sed/editors/sed.c Fri Apr 13 22:10:24 2007
+@@ -481,7 +481,7 @@
+ if (bbg.add_cmd_line) {
+ char *tp = xasprintf("%s\n%s", bbg.add_cmd_line, cmdstr);
+ free(bbg.add_cmd_line);
+- bbg.add_cmd_line = tp;
++ cmdstr = bbg.add_cmd_line = tp;
+ }
+
+ /* If this line ends with backslash, request next line. */