[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnucap-devel] too many open files
From: |
al davis |
Subject: |
Re: [Gnucap-devel] too many open files |
Date: |
Thu, 5 Jun 2008 18:28:03 -0400 |
User-agent: |
KMail/1.9.9 |
On Thursday 05 June 2008, address@hidden
wrote:
> I obtain now :
> internal error: files: 32
> can't open c:\spice\result.raw, Illegal seek
>
> I think it is a TooManyFilesOpen (MAXHANDLE reach) and that
> the previously open files was not unhandled properly.
Thanks for the bug report.
There were changes to support language plugins,
The problem is that the "CS" class does not close files as it
should. The fix is simple:
in "ap.h" line 74:
Change:
~CS() {}
To:
~CS() {if (is_file()) {fclose(_file);}}
Thanks again.