[PD] [soundfiler] - too many open files / bad file descriptor error (meaning?)

Claude Heiland-Allen claude at mathr.co.uk
Fri Feb 8 16:34:22 CET 2019


On 08/02/2019 09:55, Roman Haefeli wrote:
> I see that your version of [conv~] uses [else/dir] internally and this
> external of yours is still leaking file handles. I think I already
> reported this, but can't find an open issue about it. Maybe you closed
> them, despite them not being fixed.

https://github.com/porres/pd-else/blob/9b259f24569a13069c5842ec0f598e8fe96c8cbc/Classes/Source/dir.c#L75

the leak seems to be on this line.  you should keep the return value of 
opendir and be sure to close it when no longer necessary.


Claude
-- 
https://mathr.co.uk





More information about the Pd-list mailing list