Date: Sun, 13 Jan 2002 12:27:27 +1100 From: Mark.Andrews@isc.org To: Kris Kennaway <kris@obsecurity.org> Cc: alexus <mail@alexus.org>, freebsd-stable@freebsd.org Subject: Re: Fw: Cron <root@c> /usr/local/bin/cvsup -g -h cvsup.FreeBSD.org /usr/share/examples/cvsup/stable-supfile >/dev/null;cd /usr/src;make buildworld >/dev/null;make buildkernel >/dev/null Message-ID: <200201130127.g0D1RRp44259@drugs.dv.isc.org> In-Reply-To: Your message of "Sat, 12 Jan 2002 14:17:19 -0800." <20020112141719.B40866@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Sat, Jan 12, 2002 at 10:19:25AM -0500, alexus wrote: > > hi > >=20 > > i set up rebuild of my freebsd every saturday and it was rebuilding all t= > he > > time just fine, however today i got this > >=20 > > is anyone knows what the hell is that? > > What are you claiming is the problem? Well some of them are a problems like casting away const on the first arguement to strcpy() so that you can overwrite a const string. /usr/src/secure/lib/libtelnet/../../../crypto/telnet/libtelnet/sra.c:655: warning: passing arg 1 of `strcpy' discards qualifiers from pointer target type Casting away const when you know the function doesn't modify the arguement is reasonable. Casting away the const when the the result is non-const referencing the const string is dubious at best and requires close inspection, e.g. strchr(). When the function does overwrite the arguement the program is just plain wrong and needs to be fixed. Mark > These look like normal compiler warnings. > > Kris -- Mark Andrews, Internet Software Consortium 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews@isc.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201130127.g0D1RRp44259>