-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure current-{input,output}-port are properly restored on exception.
Modify with-input-from-{file,pipe} and with-output-to-{file,pipe} to use fluid-let on ##sys#standard-{input,output} to ensure they are restored after an exception. The ports were restored only if the exception bubbled up to the REPL; if intercepted prior to that, the REPL would then read further commands from (or write output to) that file or pipe. Signed-off-by: felix <felix@call-with-current-continuation.org>
- Loading branch information
Showing
3 changed files
with
38 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters