aboutsummaryrefslogtreecommitdiff
path: root/locale/programs/ld-time.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-11-21 06:02:35 +0000
committerUlrich Drepper <drepper@redhat.com>1999-11-21 06:02:35 +0000
commit1ceb8afe3d8c3c9b1ca7a6f0d13ee762667f397d (patch)
tree6ad5ea55d2cd40cd1235d681331ba0bb201ebbaf /locale/programs/ld-time.c
parentbece1bc4ec83cde611243c891d3a93b5e9bbcedd (diff)
downloadglibc-1ceb8afe3d8c3c9b1ca7a6f0d13ee762667f397d.zip
glibc-1ceb8afe3d8c3c9b1ca7a6f0d13ee762667f397d.tar.gz
glibc-1ceb8afe3d8c3c9b1ca7a6f0d13ee762667f397d.tar.bz2
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.
Diffstat (limited to 'locale/programs/ld-time.c')
-rw-r--r--locale/programs/ld-time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/ld-time.c b/locale/programs/ld-time.c
index 9ec58f6..b2c06cc 100644
--- a/locale/programs/ld-time.c
+++ b/locale/programs/ld-time.c
@@ -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;