]> git.pld-linux.org Git - packages/conflib.git/commitdiff
- cl_build_stanza_array() bugfix conflib-0_4_5-4
authormis <mis@pld-linux.org>
Tue, 25 Jul 2000 09:18:00 +0000 (09:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    conflib-cl_build_stanza_array-fix.patch -> 1.1

conflib-cl_build_stanza_array-fix.patch [new file with mode: 0644]

diff --git a/conflib-cl_build_stanza_array-fix.patch b/conflib-cl_build_stanza_array-fix.patch
new file mode 100644 (file)
index 0000000..fedbb3c
--- /dev/null
@@ -0,0 +1,21 @@
+diff -urN conflib-0.4.5.orig/src/cl_alist.c conflib-0.4.5/src/cl_alist.c
+--- conflib-0.4.5.orig/src/cl_alist.c  Fri Oct  9 19:03:57 1998
++++ conflib-0.4.5/src/cl_alist.c       Tue Jul 25 10:58:11 2000
+@@ -65,8 +65,15 @@
+       int count;
+       char **array;
+-      if (!st)
+-              return NULL;
++        if (!st) {
++                conf->in_scanmode = 1;
++                cl_getstanza (conf, NULL, NULL, 0, NULL);
++                conf->in_scanmode = 0;
++                st=conf->stanzas;
++                if (!st)
++                    return NULL;
++        }
++
+       for (count=0,st=conf->stanzas;st!=NULL;st=st->next)
+       {
+               if (0==cl_fnmatch_casefold(pattern, st->stanzaname))
This page took 0.041128 seconds and 4 git commands to generate.