[Mono-bugs] [Bug 76218][Nor] Changed - Tokenizer/Seekable stream bugs.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Sep 27 03:10:25 EDT 2005

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by rharinath at novell.com.


--- shadow/76218	2005-09-27 02:55:19.000000000 -0400
+++ shadow/76218.tmp.5466	2005-09-27 03:10:25.000000000 -0400
@@ -90,6 +90,18 @@
 UTF8Decoder holds "leftover" bits, so something similar to above will
 happen for UTF8.
 To remove SeekableStreamReader, we have to eliminate those part which
 depends on the stream rewind. It's not possible only at generic <>
 stuff for now.
+------- Additional Comments From rharinath at novell.com  2005-09-27 03:10 -------
+Hmm, ...  I thought I fixed (part of) the decoder-state issue in
+r48719 for bug 75679.
+I think SeekableStreamReader may go out of sync if there are
+mode-switch instructions in a character stream and if they don't get
+accounted for in Encoding.GetByteCount.  Maybe the
+SeekableStreamReader 'buffer' should keep the original bytes too,
+along with the parsed character array.

More information about the mono-bugs mailing list