]> git.pld-linux.org Git - packages/libextractor.git/commitdiff
- generate nonempty dictionaries
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 11 Apr 2004 02:09:38 +0000 (02:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libextractor-dict.patch -> 1.1

libextractor-dict.patch [new file with mode: 0644]

diff --git a/libextractor-dict.patch b/libextractor-dict.patch
new file mode 100644 (file)
index 0000000..f1ba3f6
--- /dev/null
@@ -0,0 +1,11 @@
+--- libextractor-0.2.7/src/plugins/printable/dictionary-builder.c.orig 2004-04-06 20:52:27.000000000 +0200
++++ libextractor-0.2.7/src/plugins/printable/dictionary-builder.c      2004-04-11 02:13:55.950075760 +0200
+@@ -53,7 +53,7 @@
+   cnt = 0;
+   memset(&line[0], 0, 2048);
+   while (1 == fscanf(dictin, "%s", (char*)&line)) {
+-    words[cnt] = strdup(line);    
++    words[cnt++] = strdup(line);    
+     memset(&line[0], 0, 2048);
+     if (cnt > ALLOCSIZE) {
+       fprintf(stderr, "increase ALLOCSIZE\n");
This page took 0.094388 seconds and 4 git commands to generate.