Re: [cc65] Atari IOCB fopen/fclose does not recycle IOCBs.

From: Christian Groessler <chris1groessler.org>
Date: 2014-08-04 12:20:42
Hi Thom,

On 08/04/14 05:09, Thom Cherryhomes wrote:
> If I do fopen and fclose enough, eventually, I will get an EMFILES in
> errno. I am guessing that this is because even though the close
> routines in the Atari part of the standard lib close the IOCB, the
> IOCB isn't marked as available for use again.


What cc65 version are you using? I've fixed a bug ~1yr ago, where if an open
failed (e.g. file not found) the IOCB wasn't released anymore.

regards,
chris
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Aug 4 12:21:25 2014

This archive was generated by hypermail 2.1.8 : 2014-08-04 12:21:27 CEST