mirror of
git://sourceware.org/git/glibc.git
synced 2026-10-20 11:52:27 +08:00
Update.
* locale/programs/ld-time.c (time_startup): Test for lr being nonzero, not time. * locale/programs/ld-numeric.c (numeric_finish): Don't crash if decimal_point is not defined.
This commit is contained in:
@@ -115,7 +115,7 @@ time_startup (struct linereader *lr, struct localedef_t *locale,
|
||||
locale->categories[LC_TIME].time =
|
||||
(struct locale_time_t *) xcalloc (1, sizeof (struct locale_time_t));
|
||||
|
||||
if (time != NULL)
|
||||
if (lr != NULL)
|
||||
{
|
||||
lr->translate_strings = 1;
|
||||
lr->return_widestr = 1;
|
||||
|
||||
Reference in New Issue
Block a user