diff options
| author | Arun Isaac | 2026-05-18 21:55:44 +0100 |
|---|---|---|
| committer | Arun Isaac | 2026-05-18 22:35:50 +0100 |
| commit | 2801a3de19c69eae55822df7c4a1bf4f6e923da5 (patch) | |
| tree | 00a1be71f1b35016ae6a93b4195ca2528734ffcc /bin/kaakaa | |
| parent | a47a9e899383fba7e3488ae9d494af9caf0492fa (diff) | |
| download | kaagum-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/kaakaa')
0 files changed, 0 insertions, 0 deletions
