]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 14 Sep 1998 22:04:05 +0000 (22:04 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 14 Sep 1998 22:04:05 +0000 (22:04 +0000)
1998-09-14  Ulrich Drepper  <drepper@cygnus.com>

* nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.

ChangeLog
nscd/TODO
nscd/pwdcache.c

index e8ba7be89a76c94075faf9420f69c5c37689067f..e589cd57d6a0782e0a25c2a572ce02ebe8107211 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1998-09-14  Ulrich Drepper  <drepper@cygnus.com>
+
+       * nscd/pwdcache.c (cache_pwdinit): Allocate uidtbl of correct size.
+
 1998-09-14 15:29  Ulrich Drepper  <drepper@cygnus.com>
 
        * stdio-common/Makefile (headers): Remove bits/stdio_lim.h.
index 16c28354688ab25308396d8adb8889921cf6f8af..a0b8427ad3f8853464b0fd082b810bd5facafa89 100644 (file)
--- a/nscd/TODO
+++ b/nscd/TODO
@@ -1,6 +1,4 @@
 
-* We should use readv/writev for group entries, too
-
 * If we have reached the max. # of process, close accept socket.
   ! THIS COULD CAUSE THE KERNEL TO HANG ! BE CAREFUL !
 
index e2bf73afc131ae0f84028e87af550b8bb657baf6..9b7c0a040a8bf44037046942e0e7e1327122f815 100644 (file)
@@ -110,7 +110,7 @@ cache_pwdinit ()
   pwdtbl = calloc (modulo, sizeof (pwdhash));
   if (pwdtbl == NULL)
     return -1;
-  uidtbl = calloc (modulo, sizeof (pwdhash));
+  uidtbl = calloc (modulo, sizeof (uidhash));
   if (uidtbl == NULL)
     return -1;
   negtbl = calloc (modulo, sizeof (neghash));