mirror of
git://sourceware.org/git/glibc.git
synced 2026-09-08 23:58:31 +08:00
nscd: Typo in comment
Fixes: https://sourceware.org/bugzilla/show_bug.cgi?id=34240 Signed-off-by: Josef Johansson <josef@oderland.se> Reviewed-by: Florian Weimer <fweimer@redhat.com>
This commit is contained in:
committed by
Florian Weimer
parent
4e22f95057
commit
88099e289d
+1
-1
@@ -192,7 +192,7 @@ cache_addgr (struct database_dyn *db, int fd, request_header *req,
|
||||
+ gr_mem_cnt * sizeof (uint32_t)
|
||||
+ gr_name_len + gr_passwd_len + gr_mem_len_total);
|
||||
|
||||
/* If we refill the cache, first assume the reconrd did not
|
||||
/* If we refill the cache, first assume the record did not
|
||||
change. Allocate memory on the cache since it is likely
|
||||
discarded anyway. If it turns out to be necessary to have a
|
||||
new record we can still allocate real memory. */
|
||||
|
||||
+1
-1
@@ -224,7 +224,7 @@ cache_addhst (struct database_dyn *db, int fd, request_header *req,
|
||||
+ h_aliases_cnt * sizeof (uint32_t)
|
||||
+ h_addr_list_cnt * hst->h_length);
|
||||
|
||||
/* If we refill the cache, first assume the reconrd did not
|
||||
/* If we refill the cache, first assume the record did not
|
||||
change. Allocate memory on the cache since it is likely
|
||||
discarded anyway. If it turns out to be necessary to have a
|
||||
new record we can still allocate real memory. */
|
||||
|
||||
+1
-1
@@ -245,7 +245,7 @@ addinitgroupsX (struct database_dyn *db, int fd, request_header *req,
|
||||
|
||||
total = offsetof (struct dataset, strdata) + start * sizeof (int32_t);
|
||||
|
||||
/* If we refill the cache, first assume the reconrd did not
|
||||
/* If we refill the cache, first assume the record did not
|
||||
change. Allocate memory on the cache since it is likely
|
||||
discarded anyway. If it turns out to be necessary to have a
|
||||
new record we can still allocate real memory. */
|
||||
|
||||
+1
-1
@@ -186,7 +186,7 @@ cache_addpw (struct database_dyn *db, int fd, request_header *req,
|
||||
+ pw_name_len + pw_passwd_len
|
||||
+ pw_gecos_len + pw_dir_len + pw_shell_len);
|
||||
|
||||
/* If we refill the cache, first assume the reconrd did not
|
||||
/* If we refill the cache, first assume the record did not
|
||||
change. Allocate memory on the cache since it is likely
|
||||
discarded anyway. If it turns out to be necessary to have a
|
||||
new record we can still allocate real memory. */
|
||||
|
||||
@@ -180,7 +180,7 @@ cache_addserv (struct database_dyn *db, int fd, request_header *req,
|
||||
+ s_proto_len
|
||||
+ s_aliases_cnt * sizeof (uint32_t));
|
||||
|
||||
/* If we refill the cache, first assume the reconrd did not
|
||||
/* If we refill the cache, first assume the record did not
|
||||
change. Allocate memory on the cache since it is likely
|
||||
discarded anyway. If it turns out to be necessary to have a
|
||||
new record we can still allocate real memory. */
|
||||
|
||||
Reference in New Issue
Block a user