GNU bug report logs - #54538
(ice-9 suspendable-ports) doesn’t implement the 'escape conversion strategy

Previous Next

Package: guile;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Wed, 23 Mar 2022 15:41:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: 54538 <at> debbugs.gnu.org
Subject: bug#54538: (ice-9 suspendable-ports) doesn’t implement the 'escape conversion strategy
Date: Wed, 23 Mar 2022 16:40:09 +0100
‘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’.




This bug report was last modified 3 years and 83 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.