add dynamic config unit-test and hierarchy unfinished

This commit is contained in:
liuwentan
2022-12-14 15:28:21 +08:00
parent 95b2123b5f
commit 9778267b48
26 changed files with 2411 additions and 692 deletions

View File

@@ -52,7 +52,7 @@ int get_column_pos(const char *line, int column_seq, size_t *offset, size_t *len
char *str = NULL;
char *saveptr = NULL;
char *subtoken = NULL;
const char *seps = " \t";
const char *seps = "\t";
char *dup_line = maat_strdup(line);
for (str = dup_line; ; str = NULL) {