summaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox-1.11.0-vi.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-06-28 20:53:52 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-06-28 20:53:52 +0000
commita7b15eac144ce8af082b8e9bf9a8586cc3ea00f7 (patch)
tree8586433e6e25def2d17a2374db15cce76b7d5a3a /package/busybox/busybox-1.11.0-vi.patch
parent1b6794b25383f4220237d9ee81dd3abede31f56f (diff)
downloadbuildroot-novena-a7b15eac144ce8af082b8e9bf9a8586cc3ea00f7.tar.gz
buildroot-novena-a7b15eac144ce8af082b8e9bf9a8586cc3ea00f7.zip
busybox: 1.11.0 fixes
Diffstat (limited to 'package/busybox/busybox-1.11.0-vi.patch')
-rw-r--r--package/busybox/busybox-1.11.0-vi.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.11.0-vi.patch b/package/busybox/busybox-1.11.0-vi.patch
new file mode 100644
index 000000000..cbc5693fa
--- /dev/null
+++ b/package/busybox/busybox-1.11.0-vi.patch
@@ -0,0 +1,11 @@
+--- busybox-1.11.0/editors/vi.c Wed Jun 25 14:51:37 2008
++++ busybox-1.11.0-vi/editors/vi.c Fri Jun 27 06:06:54 2008
+@@ -1894,7 +1894,7 @@
+ p = new_text + (p - text);
+ text = new_text;
+ }
+- memmove(p + size, p, end - p);
++ memmove(p + size, p, end - size - p);
+ memset(p, ' ', size); // clear new hole
+ file_modified++;
+ return p;