bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54538: (ice-9 suspendable-ports) doesn’t implement the 'escape conve


From: Ludovic Courtès
Subject: bug#54538: (ice-9 suspendable-ports) doesn’t implement the 'escape conversion strategy
Date: Wed, 23 Mar 2022 16:40:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

‘peek-char’ in (ice-9 suspendable-ports) checks for the 'substitute port
conversion strategy, but it doesn’t check for 'escape:

                (if (eq? (port-conversion-strategy port) 'substitute)
                    (values #\xFFFD buf (+ cur len))
                    (decoding-error "peek-char" port))

and:

             ((eq? (port-conversion-strategy port) 'substitute)
              (values #\xFFFD buf (+ cur prev-input-size)))

This is in 3.0.8.

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]