Commit 92e45a40 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

Fix typo when checking if file + module_suffix exists. (Miroslaw

Sun Feb 17 18:15:22 2002  Owen Taylor  <otaylor@redhat.com>

        * gmodule.c (g_module_open): Fix typo when checking
        if file + module_suffix exists. (Miroslaw Dobrzanski-Neumann,
        #71801)
parent 22fe431b
Sun Feb 17 18:15:22 2002 Owen Taylor <otaylor@redhat.com>
* gmodule.c (g_module_open): Fix typo when checking
if file + module_suffix exists. (Miroslaw Dobrzanski-Neumann,
#71801)
2001-11-24 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Remove rule for testgmodule.exp, too.
......
......@@ -338,7 +338,7 @@ g_module_open (const gchar *file_name,
if (!name)
{
name = g_strconcat (file_name, "." G_MODULE_SUFFIX, NULL);
if (!g_file_test (file_name, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR))
if (!g_file_test (name, G_FILE_TEST_EXISTS | G_FILE_TEST_IS_REGULAR))
{
g_free (name);
name = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment