diff options
Diffstat (limited to 'package/busybox/busybox-1.11.0-vi.patch')
-rw-r--r-- | package/busybox/busybox-1.11.0-vi.patch | 11 |
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; |