[Freeciv-Dev] Re: (PR#9470) Received value isn't boolean: 99
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=9470 >
Brett Albertson wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=9470 >
>
> Upon updating from the CVS version from 7/19/04 to 7/21/04, I started
> getting the message:
>
> 1: Received value isn't boolean: 24
> 1: Received value isn't boolean: 99
> 1: Received value isn't boolean: 99
> 1: Received value isn't boolean: 24
> 1: Received value isn't boolean: 99
Can you apply this patch and run. Then get a backtrace:
shell> gdb client/civclient core
gdb> bt
(assuming it's the civclient that crashes; if it's the civserver then
change it...)
jason
Index: common/dataio.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/common/dataio.c,v
retrieving revision 1.11
diff -u -r1.11 dataio.c
--- common/dataio.c 2 Jun 2004 19:47:41 -0000 1.11
+++ common/dataio.c 21 Jul 2004 17:00:28 -0000
@@ -456,6 +456,7 @@
if (ival != 0 && ival != 1) {
freelog(LOG_ERROR, "Received value isn't boolean: %d", ival);
ival = 1;
+ abort();
}
*dest = (ival != 0);
- [Freeciv-Dev] Re: (PR#9470) Received value isn't boolean: 99,
Jason Short <=
|
|