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: Jim Segrave
Subject: Re: [Bug-gnubg] Bug: Empty SGF properties
Date: Sat, 20 Sep 2003 23:27:02 +0200
User-agent: Mutt/1.4.1i

On Sat 20 Sep 2003 (17:04 +0200), Holger wrote:
> Hi all,
> 
> 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.


-- 
Jim Segrave           address@hidden





reply via email to

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