]> git.pld-linux.org Git - packages/libextractor.git/blob - libextractor-dict.patch
- generate nonempty dictionaries
[packages/libextractor.git] / libextractor-dict.patch
1 --- libextractor-0.2.7/src/plugins/printable/dictionary-builder.c.orig  2004-04-06 20:52:27.000000000 +0200
2 +++ libextractor-0.2.7/src/plugins/printable/dictionary-builder.c       2004-04-11 02:13:55.950075760 +0200
3 @@ -53,7 +53,7 @@
4    cnt = 0;
5    memset(&line[0], 0, 2048);
6    while (1 == fscanf(dictin, "%s", (char*)&line)) {
7 -    words[cnt] = strdup(line);    
8 +    words[cnt++] = strdup(line);    
9      memset(&line[0], 0, 2048);
10      if (cnt > ALLOCSIZE) {
11        fprintf(stderr, "increase ALLOCSIZE\n");
This page took 0.069177 seconds and 4 git commands to generate.