diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-01-03 04:50:22 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-01-03 04:50:22 +0000 |
commit | fb0dd050432c6e439618ebcabeab061733aa75bd (patch) | |
tree | 6ef8809b9c2f15c2d2c44d4f4f746646c9c4bc30 /time/tzset.c | |
parent | 3470b82679c30642a7a9e3b9e59cd12afb957761 (diff) | |
download | glibc-fb0dd050432c6e439618ebcabeab061733aa75bd.zip glibc-fb0dd050432c6e439618ebcabeab061733aa75bd.tar.gz glibc-fb0dd050432c6e439618ebcabeab061733aa75bd.tar.bz2 |
Update.
* manual/Makefile (TEXI2PDF): Change to texi2dvi --pdf.
Suggested by Minko Markov <mmarkov@home.com>.
2001-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* sysdeps/powerpc/elf/start.S (__data_start): Make it global.
* sysdeps/powerpc/dl-machine.c (dl_reloc_overflow): Print the name of
the failing symbol.
(__process_machine_rela): Pass symbol to dl_reloc_overflow().
2001-01-02 Ben Collins <bcollins@debian.org>
* time/tzset.c (tzset_internal): Make sure we fall back to UTC
if TZ is not set and TZDEFAULT is not present.
2001-01-01 Ben Collins <bcollins@debian.org>
* string/strings.h: Make sure we declare our functions even if
string.h is already included, based on whether or not __USE_BSD is
defined.
2001-01-02 Ulrich Drepper <drepper@redhat.com>
* dlfcn/dlerror.c (dlerror): Handle call of dlerror() before any
other dlopen() and dlsym().
Based on a patch by Ben Collins <bcollins@debian.org>.
2001-01-02 Andreas Jaeger <aj@suse.de>
* dlfcn/errmsg1.c (main): Call dlerror initially.
Reported by Ben Collins <bcollins@debian.org>.
2001-01-02 Ulrich Drepper <drepper@redhat.com>
Diffstat (limited to 'time/tzset.c')
-rw-r--r-- | time/tzset.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/time/tzset.c b/time/tzset.c index 31dfc9b..1237c91 100644 --- a/time/tzset.c +++ b/time/tzset.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991-1999, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1991-1999, 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -175,7 +175,8 @@ tzset_internal (always) /* No data file found. Default to UTC if nothing specified. */ - if (tz == NULL || *tz == '\0') + if (tz == NULL || *tz == '\0' + || (TZDEFAULT != NULL && strcmp (tz, TZDEFAULT) == 0)) { tz_rules[0].name = tz_rules[1].name = "UTC"; tz_rules[0].type = tz_rules[1].type = J0; |