blob: a4ce70a9abd90912fd686777762fee39125bd8f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
Upstream-Status: Inappropriate [distribution]
Make ghost script work with long building directory
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Index: base/genconf.c
==============================================================
--- a/base/genconf.c
+++ b/base/genconf.c
@@ -682,7 +682,7 @@ read_dev(config_t * pconf, const char *arg)
string_item_t *item;
const char *in;
-#define MAX_TOKEN 256
+#define MAX_TOKEN 512
char *token = malloc(MAX_TOKEN + 1);
char *category = malloc(MAX_TOKEN + 1);
int file_index;
|