bugDotGNU Portable.NET - Bugs: bug #18319, FileStream write pointer...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #18319: FileStream write pointer invalidated by Read from file.

Submitter:  Nick Lee <nick_lee>
Submitted:  Fri 17 Nov 2006 11:17:02 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  ktreichel
Open/Closed:  Closed

Jump to the original submission

Tue 16 Jan 2007 05:26:43 PM UTC, comment #8: 

Fixed in cvs 01/16/2007  (Klaus)

Klaus Treichel <ktreichel>
Group administrator
Mon 15 Jan 2007 03:46:25 PM UTC, comment #7: 

Sorry it's taken so long - build issues and workload!
Yes, that's fixed now, thanks!

Nick

Nick Lee <nick_lee>
Thu 21 Dec 2006 09:35:20 AM UTC, comment #6: 

Klaus - sorry I've only just noticed your question - I didn't get e-mail notification of it.  Anyway, we haven't managed to check it yet as we're having a lot of other problems at the moment, but I will let you know as soon as we've managed to - it's on my long list of things to do!  But your timely fix was much appreciated.

Nick Lee <nick_lee>
Sat 16 Dec 2006 09:16:50 AM UTC, comment #5: 

Nick, did you have time to check if the patch fixes your bug ?

Klaus Treichel <ktreichel>
Group administrator
Wed 22 Nov 2006 04:21:36 PM UTC, comment #4: 

Haven't managed to verify it yet - I've spent all day trying to get Portable .NET to build on Windows, and now I've managed, it never seems to pick up the changes when I edit FileStream.cs.  Any hints on compiling under cygwin?  It seems to be quite poorly documented.

Nick Lee <nick_lee>
Tue 21 Nov 2006 08:32:43 AM UTC, comment #3: 

Already have... the attached code has the same problem on Windows Portable .NET 0.7.5 and Linux Portable .NET 0.7.4.

Nick Lee <nick_lee>
Mon 20 Nov 2006 06:10:38 PM UTC, comment #2: 

Can you add a testcase which shows this bug ?

Klaus Treichel <ktreichel>
Group administrator
Mon 20 Nov 2006 03:54:59 PM UTC, comment #1: 

Forgot to mention this is on Portable .NET version 0.7.5.

Nick Lee <nick_lee>
Fri 17 Nov 2006 11:17:02 AM UTC, original submission:  

Open a FileStream in ReadWrite / OpenOrCreate mode and read the contents of the file.  Rewind the pointer one place using either Seek or the Position property.  Subsequent writes don't come out where you expect them to.  This works on MS .NET.

Nick Lee <nick_lee>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #11312:  kt-061121.patch added by ktreichel (1KiB - application/octet-stream - First patch to fix this bug.)
file #11287:  file problem.cs added by nick_lee (2KiB - text/plain - Code to reproduce problem.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by nick_lee (Posted a comment)
  • -email is unavailable- added by ktreichel (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-01-16 ktreichel StatusNone Fixed
        Assigned toNone ktreichel
        Open/ClosedOpen Closed
    2006-11-21 ktreichel Attached File- Added kt-061121.patch, #11312
    2006-11-17 nick_lee Attached File- Added file problem.cs, #11287

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code