about summary refs log tree commit diff
path: root/sysdeps/generic/dl-environ.c
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/generic/dl-environ.c
parenta52d15621f2f03891944550b0b71ff117e15c16a (diff)
downloadglibc-67eb7235ce72eabbc1189ed26ee2ce5eb4a04a76.tar.gz
glibc-67eb7235ce72eabbc1189ed26ee2ce5eb4a04a76.tar.xz
glibc-67eb7235ce72eabbc1189ed26ee2ce5eb4a04a76.zip
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/generic/dl-environ.c')
-rw-r--r--sysdeps/generic/dl-environ.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-environ.c b/sysdeps/generic/dl-environ.c
index e13bb5d792..53fa869aeb 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;