]> granicus.if.org Git - shadow/commit
Fix some compilation warnings:
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 19 Nov 2007 20:25:36 +0000 (20:25 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 19 Nov 2007 20:25:36 +0000 (20:25 +0000)
commit39e5c0a1abea5645c230e507e32cdb964ff395af
treef176be5669b200859f3988cb3eea9a75e44fe659
parentd16cc1ea89a1fd54f75530d8f78751f4163cd807
Fix some compilation warnings:
 * src/login.c: "dereferencing type-punned pointer will break
   strict-aliasing rules", add a variable indirection: ptr_pam_user.
 * lib/commonio.c: do not initialize the sb stat structure.
 * lib/pwio.c, lib/shadowio.c, lib/sgroupio.c, lib/groupio.c:
   initialize the security context if WITH_SELINUX.
 * lib/nscd.c: The service argument is not const (used in the exec*
   parameters). This matches with the prototype definition.
 * src/groupmems.c: Avoid ++i when i is also used in the same line.
 * src/newusers.c: i is positive every time it is compared. Add
   cast to unsigned int.
 * src/nologin.c: Use a main() prototype with no arguments.
 * libmisc/getdate.y: Initialize the type and value fields of the
   terminating entry for each TABLE.
 * libmisc/tz.c: Use "TZ=CST6CDT" as the default timezone.
13 files changed:
ChangeLog
lib/commonio.c
lib/groupio.c
lib/nscd.c
lib/pwio.c
lib/sgroupio.c
lib/shadowio.c
libmisc/getdate.y
libmisc/tz.c
src/groupmems.c
src/login.c
src/newusers.c
src/nologin.c