wrong size arguments given to $make-port
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ikarus Scheme |
Fix Released
|
Undecided
|
Abdulaziz Ghuloum |
Bug Description
I think these are mistakenly giving 0 for the size argument:
scheme/
scheme/
scheme/
In any case, when writing to a custom textual output-port, it's giving the error:
Ikarus Scheme version 0.0.2patched+ (revision 1218, build 2007-12-10)
Copyright (c) 2006-2007 Abdulaziz Ghuloum
> (import (srfi string-ports))
> (define sop (open-output-
> (write 'blah sop)
Unhandled exception
Condition components:
1. &error
2. &who: write-char
3. &message: "insufficient space in port"
4. &irritants: (#<output-port "string-
>
Changed in ikarus: | |
status: | Fix Committed → Fix Released |
The input ports should have their size be 0 (as it was). The output ports should have their size be the buffer-size (corrected in revision 1222). Thanks.