Menu

#152 Too Many Files Open at Once

open
nobody
OLC (18)
5
2003-06-24
2003-06-24
Dither
No

save_area in olc_save.c doesnt close fpReserve at the
top of the function. However, it opens another
filepointer to NULL and put it into fpReserve at the
bottom. Eventually the mud has so many files open at
once, that some systems wont let it open anymore.
Causing it to crash.

I just added

fclose( fpReserve );

Right after the variable declarations in save_area.

Discussion


Log in to post a comment.