projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] base-files: add an experimental "-c" flag which tries to preserve *all...
[openwrt.git]
/
package
/
busybox
/
patches
/
510-awk_include.patch
diff --git
a/package/busybox/patches/510-awk_include.patch
b/package/busybox/patches/510-awk_include.patch
index
36dd080
..
07f28c9
100644
(file)
--- a/
package/busybox/patches/510-awk_include.patch
+++ b/
package/busybox/patches/510-awk_include.patch
@@
-1,6
+1,11
@@
--- a/editors/awk.c
+++ b/editors/awk.c
--- a/editors/awk.c
+++ b/editors/awk.c
-@@ -70,9 +70,14 @@ typedef struct chain_s {
+@@ -1,3 +1,4 @@
++
+ /* vi: set sw=4 ts=4: */
+ /*
+ * awk implementation for busybox
+@@ -70,9 +71,14 @@ typedef struct chain_s {
} chain;
/* Function */
} chain;
/* Function */
@@
-15,7
+20,7
@@
} func;
/* I/O stream */
} func;
/* I/O stream */
-@@ -1453,7 +145
8
,8 @@ static void parse_program(char *p)
+@@ -1453,7 +145
9
,8 @@ static void parse_program(char *p)
next_token(TC_FUNCTION);
g_pos++;
f = newfunc(t_string);
next_token(TC_FUNCTION);
g_pos++;
f = newfunc(t_string);
@@
-25,7
+30,7
@@
f->nargs = 0;
while (next_token(TC_VARIABLE | TC_SEQTERM) & TC_VARIABLE) {
v = findvar(ahash, t_string);
f->nargs = 0;
while (next_token(TC_VARIABLE | TC_SEQTERM) & TC_VARIABLE) {
v = findvar(ahash, t_string);
-@@ -1462,7 +146
8
,7 @@ static void parse_program(char *p)
+@@ -1462,7 +146
9
,7 @@ static void parse_program(char *p)
if (next_token(TC_COMMA | TC_SEQTERM) & TC_SEQTERM)
break;
}
if (next_token(TC_COMMA | TC_SEQTERM) & TC_SEQTERM)
break;
}
@@
-34,7
+39,7
@@
chain_group();
clear_array(ahash);
chain_group();
clear_array(ahash);
-@@ -2547,7 +255
3
,8 @@ static var *evaluate(node *op, var *res)
+@@ -2547,7 +255
4
,8 @@ static var *evaluate(node *op, var *res)
var *vbeg, *v;
const char *sv_progname;
var *vbeg, *v;
const char *sv_progname;
@@
-44,7
+49,7
@@
syntax_error(EMSG_UNDEF_FUNC);
vbeg = v = nvalloc(op->r.f->nargs + 1);
syntax_error(EMSG_UNDEF_FUNC);
vbeg = v = nvalloc(op->r.f->nargs + 1);
-@@ -2564,7 +257
1
,10 @@ static var *evaluate(node *op, var *res)
+@@ -2564,7 +257
2
,10 @@ static var *evaluate(node *op, var *res)
fnargs = vbeg;
sv_progname = g_progname;
fnargs = vbeg;
sv_progname = g_progname;
@@
-56,7
+61,7
@@
g_progname = sv_progname;
nvfree(fnargs);
g_progname = sv_progname;
nvfree(fnargs);
-@@ -2942,6 +295
2
,143 @@ static rstream *next_input_file(void)
+@@ -2942,6 +295
3
,143 @@ static rstream *next_input_file(void)
#undef files_happen
}
#undef files_happen
}
@@
-200,7
+205,7
@@
int awk_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int awk_main(int argc, char **argv)
{
int awk_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int awk_main(int argc, char **argv)
{
-@@ -3007,6 +315
4
,9 @@ int awk_main(int argc, char **argv)
+@@ -3007,6 +315
5
,9 @@ int awk_main(int argc, char **argv)
*s1 = '=';
}
}
*s1 = '=';
}
}
This page took
0.028721 seconds
and
4
git commands to generate.