summaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox-1.12.1-vi.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-11-13 16:32:52 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-11-13 16:32:52 +0000
commitbe4f829719800b261f76ce5d7b492cf4097fbe27 (patch)
treeefc29be74e4dfa907252608dca6553c2bcd48ac9 /package/busybox/busybox-1.12.1-vi.patch
parent14520e6fa3dd68cd491af4c1423bb0fd91ac740e (diff)
downloadbuildroot-novena-be4f829719800b261f76ce5d7b492cf4097fbe27.tar.gz
buildroot-novena-be4f829719800b261f76ce5d7b492cf4097fbe27.zip
busybox: bump 1.12.x version
Diffstat (limited to 'package/busybox/busybox-1.12.1-vi.patch')
-rw-r--r--package/busybox/busybox-1.12.1-vi.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/package/busybox/busybox-1.12.1-vi.patch b/package/busybox/busybox-1.12.1-vi.patch
deleted file mode 100644
index 2cce0442d..000000000
--- a/package/busybox/busybox-1.12.1-vi.patch
+++ /dev/null
@@ -1,46 +0,0 @@
---- busybox-1.12.1/editors/vi.c Sun Sep 28 20:04:29 2008
-+++ busybox-1.12.1-vi/editors/vi.c Thu Oct 30 23:54:30 2008
-@@ -291,6 +291,8 @@
- #define INIT_G() do { \
- SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
- last_file_modified = -1; \
-+ /* "" but has space for 2 chars */ \
-+ USE_FEATURE_VI_SEARCH(last_search_pattern = xzalloc(2);) \
- } while (0)
-
-
-@@ -2974,7 +2976,7 @@
- const char *msg = msg; // for compiler
- char c1, *p, *q, *save_dot;
- char buf[12];
-- int dir = dir; // for compiler
-+ int dir;
- int cnt, i, j;
-
- // c1 = c; // quiet the compiler
-@@ -3316,7 +3318,7 @@
- q = get_input_line(buf); // get input line- use "status line"
- if (q[0] && !q[1]) {
- if (last_search_pattern[0])
-- last_search_pattern[0] = c;
-+ last_search_pattern[0] = c;
- goto dc3; // if no pat re-use old pat
- }
- if (q[0]) { // strlen(q) > 1: new pat- save it and find
-@@ -3346,14 +3348,8 @@
- do_cmd(c);
- } // repeat cnt
- dc3:
-- if (last_search_pattern == 0) {
-- msg = "No previous regular expression";
-- goto dc2;
-- }
-- if (last_search_pattern[0] == '/') {
-- dir = FORWARD; // assume FORWARD search
-- p = dot + 1;
-- }
-+ dir = FORWARD; // assume FORWARD search
-+ p = dot + 1;
- if (last_search_pattern[0] == '?') {
- dir = BACK;
- p = dot - 1;