aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/480-vi_search.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-05-25 17:15:39 +0000
committerNicolas Thill <nico@openwrt.org>2009-05-25 17:15:39 +0000
commit730226709b5aff5800c938b5bae7c9fd86cffeb0 (patch)
tree0f3d3144dd3e93a0865e6f391a65a5cb6fad136a /package/busybox/patches/480-vi_search.patch
parent45f61a72684e63899f81c51171b650933e2ea2e7 (diff)
downloadmaster-187ad058-730226709b5aff5800c938b5bae7c9fd86cffeb0.tar.gz
master-187ad058-730226709b5aff5800c938b5bae7c9fd86cffeb0.tar.bz2
master-187ad058-730226709b5aff5800c938b5bae7c9fd86cffeb0.zip
[package] busybox: update to v1.13.4 (closes: #4279)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16063 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/busybox/patches/480-vi_search.patch')
-rw-r--r--package/busybox/patches/480-vi_search.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/package/busybox/patches/480-vi_search.patch b/package/busybox/patches/480-vi_search.patch
deleted file mode 100644
index 1281135d2b..0000000000
--- a/package/busybox/patches/480-vi_search.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/editors/vi.c
-+++ b/editors/vi.c
-@@ -3317,7 +3317,7 @@ static void do_cmd(char c)
- buf[1] = '\0';
- q = get_input_line(buf); // get input line- use "status line"
- if (q[0] && !q[1]) {
-- if (last_search_pattern[0])
-+ if (last_search_pattern)
- last_search_pattern[0] = c;
- goto dc3; // if no pat re-use old pat
- }
-@@ -3333,6 +3333,10 @@ static void do_cmd(char c)
- if (cmdcnt-- > 1) {
- do_cmd(c);
- } // repeat cnt
-+ if (last_search_pattern == 0) {
-+ msg = "No previous regular expression";
-+ goto dc2;
-+ }
- dir = BACK; // assume BACKWARD search
- p = dot - 1;
- if (last_search_pattern[0] == '?') {