bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Player record problems on Windows


From: Joern Thyssen
Subject: Re: [Bug-gnubg] Player record problems on Windows
Date: Mon, 10 Mar 2003 20:33:06 +0000
User-agent: Mutt/1.4i

On Mon, Mar 10, 2003 at 03:29:57PM +0100, Holger wrote
> Hi,
> 
> the problem with erasing a player record on Windows still persists. Now I 
> had a look into it with a file monitor.
> 
> Analyse/Player Records calls CommandRecordShow() which opens gnubgpr for 
> reading:
[snip]
> 
> But since gnubgpr is still open (from CommandRecordShow), under Windows one 
> gets an access denied.
> 
> Close window with OK
> 21:32:02  Gnubg  Close  M:\GAMES\GNUBG\.GNUBG\GNUBGPR  SUCCESS  CLOSE_FINAL
> 
> Btw, in the instance for the above example I've replaced all (three) 
> occurances of unlink with remove because I'm not entirely sure that unlink 
> works with paths under Windows. For remove I've read it in the manual.
> A look at the code suggests some bigger changes to when and by whom which 
> files are opened. I guess passing only filenames instead of pointers would 
> help.

The file was closed the "wrong" place. I've committed a fix.

Jørn




reply via email to

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