From owner-freebsd-stable Wed Jun 6 9:59:35 2001 Delivered-To: freebsd-stable@freebsd.org Received: from dfw-smtpout4.email.verio.net (dfw-smtpout4.email.verio.net [129.250.36.44]) by hub.freebsd.org (Postfix) with ESMTP id 4B54837B61D for ; Wed, 6 Jun 2001 09:59:21 -0700 (PDT) (envelope-from manek@ghur.net) Received: from [129.250.38.63] (helo=dfw-mmp3.email.verio.net) by dfw-smtpout4.email.verio.net with esmtp id 157geO-0001AP-00; Wed, 06 Jun 2001 16:59:20 +0000 Received: from [63.180.75.194] (helo=rover) by dfw-mmp3.email.verio.net with asmtp (110210324) id 157ge8-0000Yg-00; Wed, 06 Jun 2001 16:59:07 +0000 From: "Sameer R. Manek" To: "Andrew Gordon" Cc: Subject: RE: Millie broken in 4.3 Date: Wed, 6 Jun 2001 09:58:57 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: Importance: Normal Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Can whoever has commit privileges please add this patch? I've been using this patch on 4.3 for quiet sometime and it seems to have fixed the problem. Thanks Andrew Sameer > -----Original Message----- > From: Andrew Gordon [mailto:arg@arg1.demon.co.uk] > Sent: Sunday, April 29, 2001 1:53 PM > To: Sameer R. Manek > Cc: freebsd-stable@freebsd.org > Subject: Re: Millie broken in 4.3 > > > On Sun, 29 Apr 2001, Sameer R. Manek wrote: > > > I've noticed a bug that appears to have recently cropped up > > > > If you attempt to play a card that puts you over 700 milestones > it produces > > this error. > > > > puts you over -1077938556 > > > > Looks like an uninitialized int, though looking at through cvsweb, looks > > like nobody has made a change in a long time, so maybe I'm just > noticing it > > for the first time. > > It's been broken for some time - presumably due to compiler changes, as > it's a varargs bug. Try this patch: > > =================================================================== > RCS file: /repository/src/games/mille/misc.c,v > retrieving revision 1.8 > diff -c -r1.8 misc.c > *** misc.c 1999/12/12 06:17:24 1.8 > --- misc.c 2001/04/29 20:50:32 > *************** > *** 65,71 **** > > va_start(arg, str); > stdscr = Score; > ! mvprintw(ERR_Y, ERR_X, str, arg); > va_end(arg); > clrtoeol(); > putchar('\07'); > --- 65,72 ---- > > va_start(arg, str); > stdscr = Score; > ! move(ERR_Y, ERR_X); > ! vw_printw(stdscr, str, arg); > va_end(arg); > clrtoeol(); > putchar('\07'); > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message