aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-02-09 01:54:57 +0000
committerUlrich Drepper <drepper@redhat.com>2002-02-09 01:54:57 +0000
commit67eb7235ce72eabbc1189ed26ee2ce5eb4a04a76 (patch)
tree0eed7e78d7e6e27c887125c8b6b8ea0f4ff1be00 /sysdeps
parenta52d15621f2f03891944550b0b71ff117e15c16a (diff)
downloadglibc-67eb7235ce72eabbc1189ed26ee2ce5eb4a04a76.zip
glibc-67eb7235ce72eabbc1189ed26ee2ce5eb4a04a76.tar.gz
glibc-67eb7235ce72eabbc1189ed26ee2ce5eb4a04a76.tar.bz2
Update.
2002-02-09 Richard Henderson <rth@twiddle.net> * sysdeps/generic/ldsodefs.h (struct rtld_global): Also include _dl_cpuclock_offset if HP_SMALL_TIMING_AVAIL. 2002-02-09 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/dl-environ.c (unsetenv): Clear cnt before use. * po/ca.po: Update from translation team. * po/sk.po: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/dl-environ.c2
-rw-r--r--sysdeps/generic/ldsodefs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/dl-environ.c b/sysdeps/generic/dl-environ.c
index e13bb5d..53fa869 100644
--- a/sysdeps/generic/dl-environ.c
+++ b/sysdeps/generic/dl-environ.c
@@ -58,7 +58,7 @@ unsetenv (const char *name)
ep = __environ;
while (*ep != NULL)
{
- size_t cnt;
+ size_t cnt = 0;
while ((*ep)[cnt] == name[cnt] && name[cnt] != '\0')
++cnt;
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index e65865c..8b94c5b 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -280,7 +280,7 @@ struct rtld_global
/* The object to be initialized first. */
EXTERN struct link_map *_dl_initfirst;
-#if HP_TIMING_AVAIL
+#if HP_TIMING_AVAIL || HP_SMALL_TIMING_AVAIL
/* Start time on CPU clock. */
EXTERN hp_timing_t _dl_cpuclock_offset;