about summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorArun Isaac2026-05-18 21:55:44 +0100
committerArun Isaac2026-05-18 22:35:50 +0100
commit2801a3de19c69eae55822df7c4a1bf4f6e923da5 (patch)
tree00a1be71f1b35016ae6a93b4195ca2528734ffcc /bin
parenta47a9e899383fba7e3488ae9d494af9caf0492fa (diff)
downloadkaagum-2801a3de19c69eae55822df7c4a1bf4f6e923da5.tar.gz
kaagum-2801a3de19c69eae55822df7c4a1bf4f6e923da5.tar.lz
kaagum-2801a3de19c69eae55822df7c4a1bf4f6e923da5.zip
Close files in binary-file? even when an exception is raised.
Prior to this, when an i/o-decoding-error was raised (as is expected
for binary files), we would exit the call-with-input-file procedure
non-locally, failing to close the port and leaving it up to the
garbage collector to close it later. This leaks file descriptors and
could result in a "Too many open files" error.

Change-Id: Ie21c1be41f6af62335dd8bf64aa603551e58cb4d
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions