[Mono-bugs] [Bug 55578][Wis] Changed - SeekableStreamReader in mcs/support.cs mixes byte and character offsets
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 14 Mar 2004 21:09:35 -0500 (EST)
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 gustavo.giraldez@gmx.net.
http://bugzilla.ximian.com/show_bug.cgi?id=55578
--- shadow/55578 2004-03-14 21:08:32.000000000 -0500
+++ shadow/55578.tmp.18544 2004-03-14 21:09:35.000000000 -0500
@@ -45,6 +45,11 @@
cache boundary (ie. 1024) and thus a file stream reposition is needed.
The second attached file is a patch which fixes this problem.
buffer_start, buffer_size and the Position property are still byte offsets,
and char_count is introduced to keep the number of valid chars in buffer[].
The stream encoding is used to map char-to-byte offsets.
+
+------- Additional Comments From gustavo.giraldez@gmx.net 2004-03-14 21:09 -------
+Created an attachment (id=6965)
+Sample file
+