mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[package] busybox: update to v1.16.1 (based on v1.16.0 update patch from Peter Wagner)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20661 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
} func;
|
||||
|
||||
/* I/O stream */
|
||||
@@ -1420,7 +1425,8 @@ static void parse_program(char *p)
|
||||
@@ -1424,7 +1429,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);
|
||||
@@ -1429,7 +1435,7 @@ static void parse_program(char *p)
|
||||
@@ -1433,7 +1439,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);
|
||||
|
||||
@@ -2410,7 +2416,8 @@ static var *evaluate(node *op, var *res)
|
||||
@@ -2446,7 +2452,8 @@ static var *evaluate(node *op, var *res)
|
||||
break;
|
||||
|
||||
case XC( OC_FUNC ):
|
||||
@@ -43,8 +43,8 @@
|
||||
+ !op->r.f->x.body.first)
|
||||
syntax_error(EMSG_UNDEF_FUNC);
|
||||
|
||||
X.v = R.v = nvalloc(op->r.f->nargs+1);
|
||||
@@ -2427,7 +2434,10 @@ static var *evaluate(node *op, var *res)
|
||||
X.v = R.v = nvalloc(op->r.f->nargs + 1);
|
||||
@@ -2463,7 +2470,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);
|
||||
@@ -2790,6 +2800,143 @@ static rstream *next_input_file(void)
|
||||
@@ -2829,6 +2839,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)
|
||||
{
|
||||
@@ -2855,6 +3002,9 @@ int awk_main(int argc, char **argv)
|
||||
@@ -2894,6 +3041,9 @@ int awk_main(int argc, char **argv)
|
||||
*s1 = '=';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user