[OpenWrt-Devel] [PATCH 2/2] file: reset parsing position on starting over a newline.

2015-04-09 Thread yszhou4tech
From: Yousong Zhou Signed-off-by: Yousong Zhou --- file.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/file.c b/file.c index be75e54..81047a4 100644 --- a/file.c +++ b/file.c @@ -278,10 +278,11 @@ int uci_parse_argument(struct uci_context *ctx, FILE *stream, cha

[OpenWrt-Devel] [PATCH 1/2] tests: add test coverage for comment lines within batch commands.

2015-04-09 Thread yszhou4tech
From: Yousong Zhou Signed-off-by: Yousong Zhou --- test/references/batch_comments.result |9 + test/tests.d/060_batch| 26 ++ 2 files changed, 35 insertions(+) create mode 100644 test/references/batch_comments.result diff --git a/test/ref

[OpenWrt-Devel] [PATCH 0/2] uci: fix uci batch regression on handling comment lines.

2015-04-09 Thread yszhou4tech
From: Yousong Zhou Yousong Zhou (2): tests: add test coverage for comment lines within batch commands. file: reset parsing position on starting over a newline. file.c|5 +++-- test/references/batch_comments.result |9 + test/tests.d/060_batch