From: Ulrich Drepper Date: Mon, 28 Apr 2003 05:30:22 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_3_3~807 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe453812315b3420771c0a1b5e5ea7d1d0626b93;p=platform%2Fupstream%2Fglibc.git Update. 2003-04-27 Ulrich Drepper * nscd/pwdcache.c: Initialize .version element in result. * nscd/grpcache.c: Likewise. * nscd/pwdcache.c: Likewise. --- diff --git a/ChangeLog b/ChangeLog index 0562bdd02b..f72e2d3530 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-04-27 Ulrich Drepper + + * nscd/pwdcache.c: Initialize .version element in result. + * nscd/grpcache.c: Likewise. + * nscd/pwdcache.c: Likewise. + 2003-04-27 Andreas Schwab * Makeconfig ($(common-objpfx)sysd-sorted): Fix for running in diff --git a/nscd/grpcache.c b/nscd/grpcache.c index a8b33cab1a..11a2e71708 100644 --- a/nscd/grpcache.c +++ b/nscd/grpcache.c @@ -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; diff --git a/nscd/hstcache.c b/nscd/hstcache.c index 08d11e4586..367953fc1e 100644 --- a/nscd/hstcache.c +++ b/nscd/hstcache.c @@ -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; diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c index 2f78884d88..f6ca001a87 100644 --- a/nscd/pwdcache.c +++ b/nscd/pwdcache.c @@ -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;