wanted: use-value restart for decoding errors on streams
Bug #317409 reported by
Nikodemus Siivola
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
(with-open-file (f "/tmp/foo.tmp" :element-type '(unsigned-byte 8) :direction :output)
(write-sequence '(102 111 111 98 97 114 240) f))
(with-open-file (f "/tmp/foo.tmp" :external-format :utf-8)
(let* ((size (file-length f))
(buffer (make-string size)))
(read-sequence buffer f)
buffer))
Observe: no USE-VALUE restart.
Changed in sbcl: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in sbcl: | |
assignee: | nobody → Christophe Rhodes (csr21-cantab) |
To post a comment you must log in.
Hi,
status inprogress
done
This is done in my external-formats tree at rvw.doc. gold.ac. uk/sullivan/ git/sbcl. git>; testing that tree
<http://
would be welcome (as there are a couple more things to do before
merging).
Christophe