Don't call g_strerror() here, since it can lead to infinite recursion.

2004-04-23  Matthias Clasen  <mclasen@redhat.com>

	* glib/gconvert.c (open_converter): Don't call g_strerror() here,
	since it can lead to infinite recursion.  (#139133, Piotr Klaban)
This commit is contained in:
Matthias Clasen 2004-04-23 14:12:54 +00:00 committed by Matthias Clasen
parent 5868112a61
commit b26e8861c1
7 changed files with 32 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-04-23 Matthias Clasen <mclasen@redhat.com>
* glib/gconvert.c (open_converter): Don't call g_strerror() here,
since it can lead to infinite recursion. (#139133, Piotr Klaban)
2004-04-22 Matthias Clasen <mclasen@redhat.com>
* tests/testglib.c (main): Trivial warning fix. (#140345)

View File

@ -1,3 +1,8 @@
2004-04-23 Matthias Clasen <mclasen@redhat.com>
* glib/gconvert.c (open_converter): Don't call g_strerror() here,
since it can lead to infinite recursion. (#139133, Piotr Klaban)
2004-04-22 Matthias Clasen <mclasen@redhat.com>
* tests/testglib.c (main): Trivial warning fix. (#140345)

View File

@ -1,3 +1,8 @@
2004-04-23 Matthias Clasen <mclasen@redhat.com>
* glib/gconvert.c (open_converter): Don't call g_strerror() here,
since it can lead to infinite recursion. (#139133, Piotr Klaban)
2004-04-22 Matthias Clasen <mclasen@redhat.com>
* tests/testglib.c (main): Trivial warning fix. (#140345)

View File

@ -1,3 +1,8 @@
2004-04-23 Matthias Clasen <mclasen@redhat.com>
* glib/gconvert.c (open_converter): Don't call g_strerror() here,
since it can lead to infinite recursion. (#139133, Piotr Klaban)
2004-04-22 Matthias Clasen <mclasen@redhat.com>
* tests/testglib.c (main): Trivial warning fix. (#140345)

View File

@ -1,3 +1,8 @@
2004-04-23 Matthias Clasen <mclasen@redhat.com>
* glib/gconvert.c (open_converter): Don't call g_strerror() here,
since it can lead to infinite recursion. (#139133, Piotr Klaban)
2004-04-22 Matthias Clasen <mclasen@redhat.com>
* tests/testglib.c (main): Trivial warning fix. (#140345)

View File

@ -1,3 +1,8 @@
2004-04-23 Matthias Clasen <mclasen@redhat.com>
* glib/gconvert.c (open_converter): Don't call g_strerror() here,
since it can lead to infinite recursion. (#139133, Piotr Klaban)
2004-04-22 Matthias Clasen <mclasen@redhat.com>
* tests/testglib.c (main): Trivial warning fix. (#140345)

View File

@ -403,8 +403,8 @@ open_converter (const gchar *to_codeset,
from_codeset, to_codeset);
else
g_set_error (error, G_CONVERT_ERROR, G_CONVERT_ERROR_FAILED,
_("Could not open converter from '%s' to '%s': %s"),
from_codeset, to_codeset, g_strerror (errno));
_("Could not open converter from '%s' to '%s'"),
from_codeset, to_codeset);
return cd;
}