Re: too many open files
al davis <[email protected]>
| Newsgroups | gmane.comp.gnu.gnucap.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thursday 05 June 2008, [email protected] 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.