Skip to content
Snippets Groups Projects
Commit acd10169 authored by Vladimir Saveliev's avatar Vladimir Saveliev
Browse files

Branch HEAD

b=12749
i=nathan,deen

Second of three patches for the root squash feature

This patch is to allow configuration parameters to contain spaces
It is accopmpished with
1. in mgs_write_log_params (renamed to mgs_write_log_param)
    assume the incoming string is a single parameter (the while loop is removed)
2. in mgs_write_log_target, call mgs_write_log_params for each parameter
a) new funcion class_get_next_param copies the entire next parameter into a temp buffer
   spaces are included if they are inside quotes (single or double)
   the first space outside of quotes is the terminator
   the quotes are stripped in the copy
   the copy is null-terminated
b) repeatedly call class_get_next_param and mgs_write_log_param in a loop from mgs_write_log_target
parent 320bc2f5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment