[LTP] [PATCH 2/5] doc_parse/data_storage: Bump the array max size
Cyril Hrubis
chrubis@suse.cz
Wed Dec 16 11:10:09 CET 2020
Bump the array size to 100 from 20 for now. I will rewrite the code to
reallocate the array if needed later on.
At least now we won't have longer description comments cut in half.
Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
---
docparse/data_storage.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docparse/data_storage.h b/docparse/data_storage.h
index 1a9265f92..ef420c08f 100644
--- a/docparse/data_storage.h
+++ b/docparse/data_storage.h
@@ -64,7 +64,7 @@ static inline struct data_node *data_node_string(const char *string)
return node;
}
-#define MAX_ELEMS 20
+#define MAX_ELEMS 100
static inline struct data_node *data_node_hash(void)
{
--
2.26.2
More information about the ltp
mailing list