summaryrefslogtreecommitdiffstats
path: root/patches/busybox-1.9.1/generic/busybox-1.9.1-lineedit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/busybox-1.9.1/generic/busybox-1.9.1-lineedit.patch')
-rw-r--r--patches/busybox-1.9.1/generic/busybox-1.9.1-lineedit.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/patches/busybox-1.9.1/generic/busybox-1.9.1-lineedit.patch b/patches/busybox-1.9.1/generic/busybox-1.9.1-lineedit.patch
deleted file mode 100644
index b412de48d..000000000
--- a/patches/busybox-1.9.1/generic/busybox-1.9.1-lineedit.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Subject: busybox 1.9.1 fixes
-From: http://busybox.net/downloads/fixes-1.9.1
-
----
- libbb/lineedit.c | 10 +++++++++-
- 1 file changed, 9 insertions(+), 1 deletion(-)
-
-Index: busybox-1.9.1/libbb/lineedit.c
-===================================================================
---- busybox-1.9.1.orig/libbb/lineedit.c
-+++ busybox-1.9.1/libbb/lineedit.c
-@@ -246,7 +246,15 @@ static void input_backward(unsigned num)
- if (cmdedit_x >= num) {
- cmdedit_x -= num;
- if (num <= 4) {
-- printf("\b\b\b\b" + (4-num));
-+ /* This is longer by 5 bytes on x86.
-+ * Also gets mysteriously
-+ * miscompiled for some ARM users.
-+ * printf(("\b\b\b\b" + 4) - num);
-+ * return;
-+ */
-+ do {
-+ bb_putchar('\b');
-+ } while (--num);
- return;
- }
- printf("\033[%uD", num);