Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2001 09:58:57 -0700
From:      "Sameer R. Manek" <manek@ghur.net>
To:        "Andrew Gordon" <arg@arg1.demon.co.uk>
Cc:        <freebsd-stable@freebsd.org>
Subject:   RE: Millie broken in 4.3
Message-ID:  <LMEMIKHGPPEEMMMMGIENOEMBDDAA.manek@ghur.net>
In-Reply-To: <Pine.BSF.4.21.0104292151570.49215-100000@server.arg.sj.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?LMEMIKHGPPEEMMMMGIENOEMBDDAA.manek>