diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-12-03 19:07:54 -0800 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-12-03 19:07:54 -0800 |
commit | ed95fe7775d63a777d86779debcd1fd59e2d921f (patch) | |
tree | 39f6c331b7811cae00e2930009404362e37afdc9 /src/cparse | |
parent | 814ec6da0379583108fd2d46dc90811b24fba359 (diff) | |
download | vyatta-cfg-ed95fe7775d63a777d86779debcd1fd59e2d921f.tar.gz vyatta-cfg-ed95fe7775d63a777d86779debcd1fd59e2d921f.zip |
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%.
Diffstat (limited to 'src/cparse')
-rw-r--r-- | src/cparse/cparse_lex.l | 4 |
1 files changed, 2 insertions, 2 deletions
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() } <sQStr>\\. { - char tmp[2] = { cparse_text[1], 0 }; - append_str(tmp); + /* this will consume the \" sequence */ + append_str(cparse_text); } <sQStr>\n { |