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:
c9939b0
)
Bug 633117: glib fails tests if /etc/localtime is not properly set
author
John Ralls
<jralls@ceridwen.us>
Wed, 19 Dec 2012 00:40:08 +0000
(
00:40
+0000)
committer
John Ralls
<jralls@ceridwen.us>
Wed, 19 Dec 2012 00:40:08 +0000
(
00:40
+0000)
glib/tests/gdatetime.c
patch
|
blob
|
history
diff --git
a/glib/tests/gdatetime.c
b/glib/tests/gdatetime.c
index
d8bc65a
..
66c0432
100644
(file)
--- a/
glib/tests/gdatetime.c
+++ b/
glib/tests/gdatetime.c
@@
-794,7
+794,11
@@
test_GDateTime_get_day_of_year (void)
static void
test_GDateTime_printf (void)
{
- gchar dst[16];
+/* 64 seems big, but one zoneinfo file, Factory, has an abbreviation
+ * that long, and it will cause the test to fail if dst isn't big
+ * enough.
+ */
+ gchar dst[64];
struct tm tt;
time_t t;
gchar t_str[16];