Date: Thu, 8 Jan 2009 02:41:40 +0000 (UTC) From: Sean Farley <scf@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libutil gr_util.c Message-ID: <200901080241.n082fufm020996@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
scf 2009-01-08 02:41:40 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
lib/libutil gr_util.c
Log:
SVN rev 186883 on 2009-01-08 02:41:40Z by scf
MFC r184831,185237:
style(9) fixes.
Fixed style issues with variable ordering and naming, spacing and
parentheses.
Fixed alignment issue in gr_dup() in its assignment of gr_mem using a
struct to force alignment without performing alignment mathematics.
This
was noticed recently with libutil was built with WARNS=6 on platform
such
as sparc64.
Added checks to gr_dup(), gr_equal() and gr_make() to prevent segfaults
when examining struct group's with the struct members pointing to
NULL's.
Unlike r185237, did not enable WARNS?=6 since other changes would need
to be MFC'd first.
Reviewed by: des
Revision Changes Path
1.1.2.2 +101 -85 src/lib/libutil/gr_util.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901080241.n082fufm020996>
