diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-06-13 18:00:29 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-06-13 18:05:54 +0200 |
commit | c25637dfe8aaf2aa7550c9196fb7e18820552ca6 (patch) | |
tree | ec5a5840b7ef8657fbb1f7b6f67871f4ae26838b /gnu | |
parent | d1f33ba44b60526d20da04d384f3af5437f8a3ae (diff) | |
download | patches-c25637dfe8aaf2aa7550c9196fb7e18820552ca6.tar patches-c25637dfe8aaf2aa7550c9196fb7e18820552ca6.tar.gz |
utils: 'with-atomic-file-output' closes the port upon exception.
Previously it could have left the file descriptor open.
* guix/utils.scm (with-atomic-file-output): Call 'close-port' in handler.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions