Update.
authorUlrich Drepper <drepper@redhat.com>
Mon, 28 Apr 2003 05:30:22 +0000 (05:30 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 28 Apr 2003 05:30:22 +0000 (05:30 +0000)
2003-04-27  Ulrich Drepper  <drepper@redhat.com>

* nscd/pwdcache.c: Initialize .version element in result.
* nscd/grpcache.c: Likewise.
* nscd/pwdcache.c: Likewise.

ChangeLog
nscd/grpcache.c
nscd/hstcache.c
nscd/pwdcache.c

index 0562bdd..f72e2d3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2003-04-27  Ulrich Drepper  <drepper@redhat.com>
+
+       * nscd/pwdcache.c: Initialize .version element in result.
+       * nscd/grpcache.c: Likewise.
+       * nscd/pwdcache.c: Likewise.
+
 2003-04-27  Andreas Schwab  <schwab@suse.de>
 
        * Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in
index a8b33ca..11a2e71 100644 (file)
@@ -152,6 +152,7 @@ cache_addgr (struct database *db, int fd, request_header *req, void *key,
        /* There is no reason to go on.  */
        error (EXIT_FAILURE, errno, _("while allocating cache entry"));
 
+      data->resp.version = NSCD_VERSION;
       data->resp.found = 1;
       data->resp.gr_name_len = gr_name_len;
       data->resp.gr_passwd_len = gr_passwd_len;
index 08d11e4..367953f 100644 (file)
@@ -167,6 +167,7 @@ cache_addhst (struct database *db, int fd, request_header *req, void *key,
        /* There is no reason to go on.  */
        error (EXIT_FAILURE, errno, _("while allocating cache entry"));
 
+      data->resp.version = NSCD_VERSION;
       data->resp.found = 1;
       data->resp.h_name_len = h_name_len;
       data->resp.h_aliases_cnt = h_aliases_cnt;
index 2f78884..f6ca001 100644 (file)
@@ -145,6 +145,7 @@ cache_addpw (struct database *db, int fd, request_header *req, void *key,
        /* There is no reason to go on.  */
        error (EXIT_FAILURE, errno, _("while allocating cache entry"));
 
+      data->resp.version = NSCD_VERSION;
       data->resp.found = 1;
       data->resp.pw_name_len = pw_name_len;
       data->resp.pw_passwd_len = pw_passwd_len;