mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-30 20:33:08 +02: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>
|
2001-11-24 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* Makefile.am: Remove rule for testgmodule.exp, too.
|
* Makefile.am: Remove rule for testgmodule.exp, too.
|
||||||
|
@ -338,7 +338,7 @@ g_module_open (const gchar *file_name,
|
|||||||
if (!name)
|
if (!name)
|
||||||
{
|
{
|
||||||
name = g_strconcat (file_name, "." G_MODULE_SUFFIX, NULL);
|
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);
|
g_free (name);
|
||||||
name = NULL;
|
name = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user