mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
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)
This commit is contained in:
parent
22fe431b0a
commit
92e45a4009
@ -1,3 +1,9 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user