projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9eb190
)
Bug 686185: GDateTime Transcoding fails on OSX
author
John Ralls
<jralls@ceridwen.us>
Thu, 8 Nov 2012 16:35:23 +0000
(08:35 -0800)
committer
John Ralls
<jralls@ceridwen.us>
Thu, 8 Nov 2012 16:37:54 +0000
(08:37 -0800)
Better fix than
d5df0a10f
. Thanks to Christian Persch for pointing this
out.
glib/tests/gdatetime.c
patch
|
blob
|
history
diff --git
a/glib/tests/gdatetime.c
b/glib/tests/gdatetime.c
index
5d79602
..
4def53e
100644
(file)
--- a/
glib/tests/gdatetime.c
+++ b/
glib/tests/gdatetime.c
@@
-885,7
+885,7
@@
test_non_utf8_printf (void)
g_free (oldlocale);
return;
}
- if (g_
strcmp0 (g_get_codeset (), "UTF-8") == 0
)
+ if (g_
get_charset (NULL)
)
{
g_test_message ("locale ja_JP.eucjp may be available, but glib seems to think that it's equivalent to UTF-8, skipping non-UTF-8 tests.");
g_test_message ("This is a known issue on Darwin");