Fixed altering of glibc private locale area (#107634). Makes it usable

2003-03-05  Stanislav Brabec  <sbrabec@suse.cz>

	* gtk/gtkrc.c: Fixed altering of glibc private locale area
	(#107634). Makes it usable with glibc-3.2 again, but the code is
	still not mature.
This commit is contained in:
Stanislav Brabec
2003-03-06 10:46:22 +00:00
committed by Stanislav Brabec
parent 66d9f7a90e
commit 87b6986c90
6 changed files with 32 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2003-03-05 Stanislav Brabec <sbrabec@suse.cz>
* gtk/gtkrc.c: Fixed altering of glibc private locale area
(#107634). Makes it usable with glibc-3.2 again, but the code is
still not mature.
2003-02-28 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in: Changed "by" (wrong lang code) to "be"

View File

@@ -1,3 +1,9 @@
2003-03-05 Stanislav Brabec <sbrabec@suse.cz>
* gtk/gtkrc.c: Fixed altering of glibc private locale area
(#107634). Makes it usable with glibc-3.2 again, but the code is
still not mature.
2003-02-28 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in: Changed "by" (wrong lang code) to "be"

View File

@@ -1,3 +1,9 @@
2003-03-05 Stanislav Brabec <sbrabec@suse.cz>
* gtk/gtkrc.c: Fixed altering of glibc private locale area
(#107634). Makes it usable with glibc-3.2 again, but the code is
still not mature.
2003-02-28 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in: Changed "by" (wrong lang code) to "be"

View File

@@ -1,3 +1,9 @@
2003-03-05 Stanislav Brabec <sbrabec@suse.cz>
* gtk/gtkrc.c: Fixed altering of glibc private locale area
(#107634). Makes it usable with glibc-3.2 again, but the code is
still not mature.
2003-02-28 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in: Changed "by" (wrong lang code) to "be"

View File

@@ -1,3 +1,9 @@
2003-03-05 Stanislav Brabec <sbrabec@suse.cz>
* gtk/gtkrc.c: Fixed altering of glibc private locale area
(#107634). Makes it usable with glibc-3.2 again, but the code is
still not mature.
2003-02-28 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in: Changed "by" (wrong lang code) to "be"

View File

@@ -453,7 +453,7 @@ gtk_rc_init (void)
if (!initted)
{
char *locale = setlocale (LC_CTYPE, NULL);
char *locale = g_strdup (setlocale (LC_CTYPE, NULL));
char *p;
initted = TRUE;
@@ -558,6 +558,7 @@ gtk_rc_init (void)
if (tmp) g_free (tmp);
}
g_free (locale);
}
i = 0;