[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: groff-font.c compile trouble and fix
From: |
Jason Stover |
Subject: |
Re: groff-font.c compile trouble and fix |
Date: |
Mon, 24 Oct 2005 19:02:58 +0000 |
User-agent: |
Mutt/1.4.2.1i |
Except for that problem, pspp will build on NetBSD 2.0.2 alpha.
-Jason
On Mon, Oct 24, 2005 at 11:50:27AM -0700, Ben Pfaff wrote:
> Jason Stover <address@hidden> writes:
>
> > The problem is in the definition of this function:
>
> [...]
>
> > The declaration of tmsg in error.h is:
> >
> > void tmsg (int class, const char *title, const char *format, ...)
> > PRINTF_FORMAT (3, 4);
> >
> > The following seems right to me, and it compiles, but I'm too afraid of
> > stomping on someone else's work to check this in:
>
> [...]
>
> > Does this look like the right fix? It still compiles under GNU/Linux.
>
> There's definitely a bug, but that's not the right fix. The
> correct fix is to write a version of tmsg() that takes a va_list.
> I'll do this tonight.
> --
> "Platonically Evil Monkey has been symbolically representing the darkest
> fears of humanity since the dawn of literature and religion, and I think
> I speak for everyone when I give it a sidelong glance of uneasy recognition
> this evening." --Scrymarch
--
address@hidden
SDF Public Access UNIX System - http://sdf.lonestar.org