Otte, Joerg wrote:

The debug output is:

[snip]
PILPluginTypeListPlugins()

I think the problem is a wrong pointer comparison in pils.c/so_select.
The following patch works. This is not Solaris specific:

--- ./lib/pils/pils.c.orig      2007-05-22 06:45:09.418222467 +0200
+++ ./lib/pils/pils.c   2007-05-22 07:20:51.004642982 +0200
@@ -1870,7 +1870,7 @@ so_select (const struct dirent *dire)
        if (DEBUGPLUGIN) {
                PILLog(PIL_DEBUG, "In so_select: %s.", dire->d_name);
        }
-       if (obj_end < dire->d_name) {
+       if (end < dire->d_name) {
                        return 0;
        }
        if (strcmp(end, obj_end) == 0) {

http://old.linux-foundation.org/developer_bugzilla/show_bug.cgi?id=1581


------------------------------------------------------------------------

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/




_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to