bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Bug: Empty SGF properties


From: Holger
Subject: Re: [Bug-gnubg] Bug: Empty SGF properties
Date: Mon, 22 Sep 2003 17:31:37 +0200

At 23:27 20.09.2003 +0200, Jim Segrave wrote:
On Sat 20 Sep 2003 (17:04 +0200), Holger wrote:
> loading an SGF file with an empty property, such as BR[] or EV[], and
> saving it again results in files with rubbish in those properties.
> I had a look at the code but didn't find where the initilisation occurs.

sgf.y assumed tried to build a value by concatentating what it found
between square barckets, but assumed there would always be at least
one item there. Fixed with a calloc instead of malloc, because it's
easier than coding around it.

Thank you. Did you commit your fix?

Regards,

Holger




reply via email to

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