Changeset 474


Ignore:
Timestamp:
Mar 12, 2008, 11:12:03 PM (17 years ago)
Author:
OverTaker
Message:

FileStreamクラスでFileMode.Appendが指定されたとき、ファイルの位置が末尾に移動していない不具合を修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Include/Classes/System/IO/FileStream.ab

    r439 r474  
    6767        This.offset = 0
    6868        This.ownsHandle = True
     69
     70        If FileMode.Append = This.fileMode Then
     71            Seek(0, SeekOrigin.End)
     72        End If
    6973    End Sub
    7074    Sub FileStream(path As String, mode As FileMode, access As FileAccess, share As FileShare)
Note: See TracChangeset for help on using the changeset viewer.