From ed95fe7775d63a777d86779debcd1fd59e2d921f Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Fri, 3 Dec 2010 19:07:54 -0800 Subject: change boot-time config loading to use new implementation in backend. * add new boot-time config loading script that uses shell API to access backend directly, bypassing wrapper. * use new loadFile implementation in the backend to perform the actual "load" operation (without "commit"). this reduces the "pre-commit" load time by ~60%. --- src/cparse/cparse_lex.l | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cparse') diff --git a/src/cparse/cparse_lex.l b/src/cparse/cparse_lex.l index 1afe886..61c016f 100644 --- a/src/cparse/cparse_lex.l +++ b/src/cparse/cparse_lex.l @@ -158,8 +158,8 @@ set_ret_str() } \\. { - char tmp[2] = { cparse_text[1], 0 }; - append_str(tmp); + /* this will consume the \" sequence */ + append_str(cparse_text); } \n { -- cgit v1.2.3