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.

Submitted by:  Nick Lee <nick_lee>
Submitted on:  Fri 17 Nov 2006 11:17:02 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Klaus Treichel <ktreichel>
Open/Closed: Closed

(Jump to the original submission 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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>

 

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
  • -unavailable- added by nick_lee (Posted a comment)
  • -unavailable- added by ktreichel (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 16 Jan 2007 05:26:43 PM UTCktreichelStatusNone=>Fixed
      Assigned toNone=>ktreichel
      Open/ClosedOpen=>Closed
    Tue 21 Nov 2006 09:17:06 PM UTCktreichelAttached File-=>Added kt-061121.patch, #11312
    Fri 17 Nov 2006 11:17:02 AM UTCnick_leeAttached File-=>Added file problem.cs, #11287

    Back to the top


    Powered by Savane 3.1-cleanup1