On 2015-04-16 20:57, Bastian Bittorf wrote:
> while heavy testing of recent OpenWrt i
> discovered the following problem:
> 
> x() { local x=1; echo $x; local x; echo $x; }
> 
> older busybox will output
> 1
> 1
> 
> and v1.23.2 will only output
> 1
> 
> this means: 'local varname' will empty the var.
> is this a problem with a changed config? at least
> i cannot find a corresponding changeset regarding ash.c
Thanks for reporting this. Fix committed in r45471 and submitted upstream.

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to