bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] Fixes to rel_0_15, bug in Main branch


From: Jim Segrave
Subject: [Bug-gnubg] Fixes to rel_0_15, bug in Main branch
Date: Mon, 18 Dec 2006 18:01:32 +0100
User-agent: mutt-ng/devel-r804 (FreeBSD)

I've commited a fix to gtkgame.c in rel_0_15 which caused gnubg to
core-dump when saving a board design. It was sharing a dialog box with
the game saving file picker and assumed the presence of widgets which
weren't there, these are now preset to NULL and checked for being
non-NULL before being accessed.

I've noted (but not done anything about), that the head source has a
bug in configure.in.

if lrint is not defined on your system, config.h will contain
something like:

/* define lrint as macro */
#define lrint(x) ((long) ((x)+0.5))


if you do have lrint, this changes to:

/* define lrint as macro */
/* #undef lrint */ (x) 

which doesn't compile. I think it's a matter of quoting in the 
AC_CHECK_FUNCS in configure.in, but I'm not that au-fait with m4 and
decided not to experiment, as every time I play with autoconf stuff,
things seem to go belly-up.

-- 
Jim Segrave           address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]