mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Include the module file name to the error message given when module
2007-07-09 Matthias Clasen <mclasen@redhat.com> * gmodule.c (g_module_open): Include the module file name to the error message given when module initialization fails. (#448484, Gustavo Carneiro) svn path=/trunk/; revision=5611
This commit is contained in:
parent
3a132f5dd5
commit
964471d184
@ -1,3 +1,9 @@
|
||||
2007-07-09 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gmodule.c (g_module_open): Include the module file
|
||||
name to the error message given when module initialization
|
||||
fails. (#448484, Gustavo Carneiro)
|
||||
|
||||
Fri Jun 29 2007 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* === Released 2.13.6 ===
|
||||
|
@ -488,7 +488,10 @@ g_module_open (const gchar *file_name,
|
||||
{
|
||||
gchar *error;
|
||||
|
||||
error = g_strconcat ("GModule initialization check failed: ", check_failed, NULL);
|
||||
error = g_strconcat ("GModule (",
|
||||
file_name ? file_name : "NULL",
|
||||
") initialization check failed: ",
|
||||
check_failed, NULL);
|
||||
g_module_close (module);
|
||||
module = NULL;
|
||||
g_module_set_error (error);
|
||||
|
Loading…
Reference in New Issue
Block a user