From owner-freebsd-current Sat May 11 9:19: 1 2002 Delivered-To: freebsd-current@freebsd.org Received: from hpdi.ath.cx (pc1-nfds1-5-cust34.not.cable.ntl.com [80.4.34.34]) by hub.freebsd.org (Postfix) with ESMTP id 7704F37B406; Sat, 11 May 2002 09:18:55 -0700 (PDT) Received: from hpdi.ath.cx (localhost.hpdi.net [127.0.0.1]) by hpdi.ath.cx (8.12.3/8.12.3) with ESMTP id g4BGEgav001598; Sat, 11 May 2002 17:14:42 +0100 (BST) (envelope-from hitenp@hpdi.ath.cx) Received: (from hitenp@localhost) by hpdi.ath.cx (8.12.3/8.12.3/Submit) id g4BGEgii001597; Sat, 11 May 2002 17:14:42 +0100 (BST) Date: Sat, 11 May 2002 17:14:41 +0100 From: Hiten Pandya To: des@FreeBSD.org Cc: current@FreeBSD.org Subject: re: alpha tinderbox failure Message-ID: <20020511161441.GA1568@hpdi.ath.cx> Reply-To: hiten@uk.FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline User-Agent: Mutt/1.3.28i X-Operating-System: FreeBSD hpdi.ath.cx 5.0-CURRENT FreeBSD 5.0-CURRENT Organisation: Hiten Pandya, Leicester LE5 3NF, United Kingdom X-PGP-Key: http://www.pittgoth.com/~hiten/pubkey.asc Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > =3D=3D=3D> libtelnet > cc1: warnings being treated as errors > /.amd_mnt/freefall/host/d/home/des/tinderbox/src/crypto/telnet/libtelnet/= kerberos.c: In function=20 > `kerberos4_cksum': > /.amd_mnt/freefall/host/d/home/des/tinderbox/src/crypto/telnet/libtelnet/= kerberos.c:496: warning:=20 > unreachable code at beginning of switch statement > *** Error code 1 %%% int kerberos4_cksum(unsigned char *d, int n) { int ck =3D 0; /* * A comment is probably needed here for those not * well versed in the "C" language. Yes, this is * supposed to be a "switch" with the body of the * "switch" being a "while" statement. The whole * purpose of the switch is to allow us to jump into * the middle of the while() loop, and then not have * to do any more switch()s. * * Some compilers will spit out a warning message * about the loop not being entered at the top. */ switch (n&03) while (n > 0) { case 0: ck ^=3D (int)*d++ << 24; --n; case 3: ck ^=3D (int)*d++ << 16; --n; case 2: ck ^=3D (int)*d++ << 8; --n; case 1: ck ^=3D (int)*d++; --n; } return(ck); } %%% Thanks. Regards. P.S. JFYI. :-) --=20 Hiten Pandya http://storm.uk.FreeBSD.org/~hiten Finger hiten@storm.uk.FreeBSD.org for PGP public key -- 4FB9 C4A9 4925 CF97 9BF3 ADDA 861D 5DBD E4E3 03C3=20 --FCuugMFkClbJLl1L Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE83UNxhh1dveTjA8MRApgMAJ47xPoDcitllzYVWRTHP2APBY5UzgCg4GWw 0m/NkNlzma24esbH34u2F4c= =9I3X -----END PGP SIGNATURE----- --FCuugMFkClbJLl1L-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message