diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-10-22 13:17:20 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-10-22 13:17:20 -0700 |
commit | 1bfed2b132dac0f74bb847eed74c93ac6c19ec55 (patch) | |
tree | 5b2a8f88dede47fdbb30e00758692f398fb96570 /ChangeLog | |
parent | b5af9297d51a43f96c5be1bafab032184690dd6f (diff) | |
download | glibc-roland/nscd-vlais.tar.gz |
Rework some nscd code not to use variable-length struct types.roland/nscd-vlais
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,16 @@ +2014-10-22 Roland McGrath <roland@hack.frob.com> + + * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than + old GNU extension [0] syntax. + * nscd/nscd_helper.c (open_socket): Use a flexible array member and + alloca rather than an array member with variable length. + * nscd/netgroupcache.c (addgetnetgrentX): Likewise. + * nscd/nscd.c (invalidate_db): New function, broken out of ... + (parse_opt): ... here. Likewise use alloca there. + Validate the -i argument before checking for rootness. + (send_shutdown): New function, broken out of ... + (parse_opt): ... here. + 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com> [BZ #17485] |