Mon May 28 20:19:25 2001 Tim Janik <timj@gtk.org>
* gmodule.c (g_module_open): as a last resort, if we can't access()
the module, leave it up to the platform backends to find it.
(fixes implicit search patch loading i broke with my last
commit, spotted by Padraig O'Briain).
+Mon May 28 20:19:25 2001 Tim Janik <timj@gtk.org>
+
+ * gmodule.c (g_module_open): as a last resort, if we can't access()
+ the module, leave it up to the platform backends to find it.
+ (fixes implicit search patch loading i broke with my last
+ commit, spotted by Padraig O'Briain).
+
Thu May 24 03:43:12 2001 Tim Janik <timj@gtk.org>
* gmodule.c (g_module_open): reordered code so we have a single
name = NULL;
}
}
- /* last resort, try appending libtool suffix */
+ /* try completing by appending libtool suffix */
if (!name)
{
name = g_strconcat (file_name, ".la");
name = NULL;
}
}
+ /* we can't access() the file, lets hope the platform backends finds
+ * it via library paths
+ */
+ if (!name)
+ name = g_strdup (file_name);
/* ok, try loading the module */
if (name)