projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Asus WL-330gE Support
[openwrt.git]
/
package
/
busybox
/
patches
/
480-vi_search.patch
diff --git
a/package/busybox/patches/480-vi_search.patch
b/package/busybox/patches/480-vi_search.patch
index
d9fa821
..
6162600
100644
(file)
--- a/
package/busybox/patches/480-vi_search.patch
+++ b/
package/busybox/patches/480-vi_search.patch
@@
-1,6
+1,6
@@
--- a/editors/vi.c
+++ b/editors/vi.c
--- a/editors/vi.c
+++ b/editors/vi.c
-@@ -3313,7 +3313,7 @@
+@@ -3313,7 +3313,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]) {
buf[1] = '\0';
q = get_input_line(buf); // get input line- use "status line"
if (q[0] && !q[1]) {
@@
-9,7
+9,7
@@
last_search_pattern[0] = c;
goto dc3; // if no pat re-use old pat
}
last_search_pattern[0] = c;
goto dc3; // if no pat re-use old pat
}
-@@ -3329,6 +3329,10 @@
+@@ -3329,6 +3329,10 @@
static void do_cmd(char c)
if (cmdcnt-- > 1) {
do_cmd(c);
} // repeat cnt
if (cmdcnt-- > 1) {
do_cmd(c);
} // repeat cnt
@@
-20,7
+20,7
@@
dir = BACK; // assume BACKWARD search
p = dot - 1;
if (last_search_pattern[0] == '?') {
dir = BACK; // assume BACKWARD search
p = dot - 1;
if (last_search_pattern[0] == '?') {
-@@ -3348,10 +3352,8 @@
+@@ -3348,10 +3352,8 @@
static void do_cmd(char c)
msg = "No previous regular expression";
goto dc2;
}
msg = "No previous regular expression";
goto dc2;
}
This page took
0.027086 seconds
and
4
git commands to generate.