genromfs icon indicating copy to clipboard operation
genromfs copied to clipboard

* genromfs.c (alignnode): close(fd) after read

Open NomanKhan777 opened this issue 10 months ago • 1 comments

Issue: In MSYS2, when processing a large set of files (approximately 9,000), genromfs displays the error:

"Too many open files"

Fix: To resolve this, the open file handles are now explicitly closed after reading, preventing the system from exceeding the file descriptor limit.

NomanKhan777 avatar Feb 11 '25 23:02 NomanKhan777

If this patch is accepted can there be a new release of genromfs? As the author of the genromfs packaging in MSYS2-packages, I would like to get this resolved as soon as possible.

jhol avatar Feb 12 '25 00:02 jhol

@chexum is this project being maintained? this patch is particularly important and needs to be released ASAP

jhol avatar Feb 27 '25 00:02 jhol