]> code.ossystems Code Review - openembedded-core.git/blob
4dbf86f3ac93ccffe0677028ea24423dc3f70e32
[openembedded-core.git] /
1 Upstream-Status: Accepted
2
3 Make ghost script work with long building directory
4
5 This patch has been accepted by upstream and should be removed
6 at the next update of ghostscript.
7
8 Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
9
10 Index: base/genconf.c
11 ==============================================================
12 --- a/base/genconf.c
13 +++ b/base/genconf.c
14 @@ -682,7 +682,7 @@ read_dev(config_t * pconf, const char *arg)
15      string_item_t *item;
16      const char *in;
17  
18 -#define MAX_TOKEN 256
19 +#define MAX_TOKEN 512
20      char *token = malloc(MAX_TOKEN + 1);
21      char *category = malloc(MAX_TOKEN + 1);
22      int file_index;