call-with-port should not close port when dynamic extent exited
Bug #244899 reported by
Derick Eddington
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Committed
|
High
|
Abdulaziz Ghuloum |
Bug Description
call-with-port is currently using dynamic-wind to close the port, but:
R6RS 8.2.6 says of call-with-port:
"If proc does not return, port is not closed automatically, except perhaps when it is possible to prove that port will never again be used for an input or output operation."
Since they use call-with-port, it looks like this would also make with-output-
I'm doing some cool stuff with custom ports and generators/
Related branches
Changed in ikarus: | |
importance: | Undecided → High |
Changed in ikarus: | |
assignee: | nobody → aghuloum |
status: | New → Confirmed |
Changed in ikarus: | |
milestone: | none → 0.0.4 |
To post a comment you must log in.
Fixed in 1531. Thanks.