bug-gnu-chess
[Top][All Lists]
Advanced

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

Re: Crash bug in DBReadPlayer


From: Simon Waters
Subject: Re: Crash bug in DBReadPlayer
Date: Mon, 23 Jul 2001 09:55:03 +0100

Alexander Duncan wrote:
> 
> Just noticed a bug in gnuchess v5.02...
> 
> I don't have a "players.dat" file installed in the game directory.
> When I type in "list" on the command prompt it crashes at line 157
> in "players.c".  It fails because it can't find the file and then
> it tries to fclose the NULL pointer.  It can be fixed by moving
> fclose inside the block(swapping 156 and 157).

Thanks Alex,

reproduced this no problem.

        Simon
-- 
Are you using the Internet to best effect ?
www.eighth-layer.com
Tel: +44(0)1395 232769      ICQ: 116952768
Moderated discussion of teleworking at
news:uk.business.telework



reply via email to

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