Activity log for bug #238400

Date Who What changed Old value New value Message
2008-06-08 20:24:45 Derick Eddington bug added bug
2008-06-08 20:27:54 Derick Eddington description refill-bv-buffer: lines 714-716 use j but should they be using c1? lookahead-char-utf8-mode: line 840 uses get-char but should it be? get-char will see the same decoding error and ignore it by advancing passed it and doing another get-char which will advance more, but since this was lookahead-char should it be consuming characters? I.e.: > (define tip (open-bytevector-input-port '#vu8(#b10000000 65 66 67) (make-transcoder (utf-8-codec) (eol-style none) (error-handling-mode ignore)))) > (lookahead-char tip) #\A > (lookahead-char tip) #\B > (lookahead-char tip) #\B > I know the port position stuff is not finished, but I noticed these: refill-bv-buffer: lines 706-708: should refilling the buffer be advancing the port's position? Should this give 0? > (input-port-byte-position (open-string-input-port "foobar")) 1 > refill-bv-buffer: lines 714-716 use j but should they be using c1? lookahead-char-utf8-mode: line 840 uses get-char but should it be? get-char will see the same decoding error and ignore it by advancing passed it and doing another get-char which will advance more, but since this was lookahead-char should it be consuming characters? I.e.: > (define tip (open-bytevector-input-port '#vu8(#b10000000 65 66 67) (make-transcoder (utf-8-codec) (eol-style none) (error-handling-mode ignore)))) > (lookahead-char tip) #\A > (lookahead-char tip) #\B > (lookahead-char tip) #\B > I know the port position stuff is not finished, but I noticed these: refill-bv-buffer: lines 706-708: should refilling the buffer be advancing the port's position? Should these give 0? > (input-port-byte-position (open-string-input-port "foobar")) 1 > (input-port-byte-position (open-bytevector-input-port '#vu8(1 2 3 4 5))) 1 >
2008-06-09 08:38:10 Abdulaziz Ghuloum ikarus: status New Fix Committed
2008-06-09 08:38:10 Abdulaziz Ghuloum ikarus: assignee aghuloum
2008-06-09 08:38:10 Abdulaziz Ghuloum ikarus: importance Undecided High
2008-12-26 15:11:41 Abdulaziz Ghuloum ikarus: milestone 0.0.4