summaryrefslogtreecommitdiff
path: root/package/busybox/patches/510-awk_include.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
commite7133da4aada3f96f0e4a64a9858919ee36a2e0a (patch)
tree04f8e115af4d7639ce173efddf1022b215048390 /package/busybox/patches/510-awk_include.patch
parentb90bd689a2df064438cc7b270270f322136aa7b2 (diff)
downloadmtk-20170518-e7133da4aada3f96f0e4a64a9858919ee36a2e0a.zip
mtk-20170518-e7133da4aada3f96f0e4a64a9858919ee36a2e0a.tar.gz
mtk-20170518-e7133da4aada3f96f0e4a64a9858919ee36a2e0a.tar.bz2
busybox: update to v1.13.4 (closes: #4279)
SVN-Revision: 16063
Diffstat (limited to 'package/busybox/patches/510-awk_include.patch')
-rw-r--r--package/busybox/patches/510-awk_include.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/package/busybox/patches/510-awk_include.patch b/package/busybox/patches/510-awk_include.patch
index b185408..7284bbc 100644
--- a/package/busybox/patches/510-awk_include.patch
+++ b/package/busybox/patches/510-awk_include.patch
@@ -15,7 +15,7 @@
} func;
/* I/O stream */
-@@ -1400,7 +1405,8 @@ static void parse_program(char *p)
+@@ -1423,7 +1428,8 @@ static void parse_program(char *p)
next_token(TC_FUNCTION);
g_pos++;
f = newfunc(t_string);
@@ -25,7 +25,7 @@
f->nargs = 0;
while (next_token(TC_VARIABLE | TC_SEQTERM) & TC_VARIABLE) {
v = findvar(ahash, t_string);
-@@ -1409,7 +1415,7 @@ static void parse_program(char *p)
+@@ -1432,7 +1438,7 @@ static void parse_program(char *p)
if (next_token(TC_COMMA | TC_SEQTERM) & TC_SEQTERM)
break;
}
@@ -34,7 +34,7 @@
chain_group();
clear_array(ahash);
-@@ -2374,7 +2380,8 @@ static var *evaluate(node *op, var *res)
+@@ -2397,7 +2403,8 @@ static var *evaluate(node *op, var *res)
break;
case XC( OC_FUNC ):
@@ -44,7 +44,7 @@
syntax_error(EMSG_UNDEF_FUNC);
X.v = R.v = nvalloc(op->r.f->nargs+1);
-@@ -2391,7 +2398,10 @@ static var *evaluate(node *op, var *res)
+@@ -2414,7 +2421,10 @@ static var *evaluate(node *op, var *res)
fnargs = X.v;
L.s = g_progname;
@@ -56,7 +56,7 @@
g_progname = L.s;
nvfree(fnargs);
-@@ -2754,6 +2764,143 @@ static rstream *next_input_file(void)
+@@ -2777,6 +2787,143 @@ static rstream *next_input_file(void)
#undef files_happen
}
@@ -200,7 +200,7 @@
int awk_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int awk_main(int argc, char **argv)
{
-@@ -2819,6 +2966,9 @@ int awk_main(int argc, char **argv)
+@@ -2842,6 +2989,9 @@ int awk_main(int argc, char **argv)
*s1 = '=';
}
}