[OpenWrt-Devel] [PATCH 0/3] uci: a few fixes.

Yousong Zhou yszhou4tech at gmail.com
Sat Mar 7 10:17:46 EST 2015

The 2nd patch fixes a regression introduced lately.

The 3rd one fixes the following code in LuCI [1].

	local uci = require 'uci'
	cursor = uci.cursor

I tested them on BB branch, but not sure why the bug was not triggered before
since the code has been there for quite a long time.

 [1] https://github.com/openwrt/luci/blob/master/modules/luci-base/luasrc/model/uci.lua#L5

Yousong Zhou (2):
  cli: fix return value of package_cmd().
  lua: return module table instead of boolean value on require('uci').

 cli.c     |    2 ++
 lua/uci.c |    3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list