svn commit: r211023 - head/usr.sbin/syslogd

M. Warner Losh imp at bsdimp.com
Sun Aug 8 21:41:59 UTC 2010


In message: <201008082037.o78KbLDt022321 at haluter.fromme.com>
            Oliver Fromme <olli at fromme.com> writes:
: 
: M. Warner Losh wrote:
:  > In message: <201008071620.o77GKDBb091327 at svn.freebsd.org>
:  >             Oliver Fromme <olli at FreeBSD.org> writes:
:  > : Author: olli
:  > : Date: Sat Aug  7 16:20:12 2010
:  > : New Revision: 211023
:  > : URL: http://svn.freebsd.org/changeset/base/211023
:  > : Modified: head/usr.sbin/syslogd/Makefile
:  > : ==============================================================================
:  > : --- head/usr.sbin/syslogd/Makefile	Sat Aug  7 16:14:40 2010	(r211022)
:  > : +++ head/usr.sbin/syslogd/Makefile	Sat Aug  7 16:20:12 2010	(r211023)
:  > : @@ -12,7 +12,7 @@ SRCS=	syslogd.c ttymsg.c
:  > :  DPADD=	${LIBUTIL}
:  > :  LDADD=	-lutil
:  > :  
:  > : -WARNS?=	3
:  > : +WARNS?=	6
:  > :  
:  > :  .if ${MK_INET6_SUPPORT} != "no"
:  > :  CFLAGS+= -DINET6
:  > 
:  > This breaks MIPS, so I've reverted it.  Please make sure that all
:  > architectures work when bumping up WARNS.
: 
: Thanks for fixing it for me.
: 
: I did make the universe check, but apparently I did something
: wrong, so I didn't notice the problem.  I'm sorry for that.

The casting that syslogd does with struct sockaddrFOO is what triggers
it.  I'm not sure how to fix it, so there's about 6 or 8 programs in
the tree that have WARNS lowered to 3 because of it.

Warner


More information about the svn-src-all mailing list