svn path=/trunk/mcs/; revision=54831
+2005-12-24 Kornél Pál <kornelpal@hotmail.com>
+
+ * FileStream.cs: Set buf_start to actual initial position when creating
+ FileStreams from handles.
+
2005-12-23 Sebastien Pouliot <sebastien@ximian.com>
* DirectoryInfo.cs: Fixed #77090 to fix /home parent to be / (and not
InitBuffer (bufferSize, noBuffering);
+ if (canseek) {
+ buf_start = MonoIO.Seek (handle, 0, SeekOrigin.Current, out error);
+ if (error != MonoIOError.ERROR_SUCCESS) {
+ throw MonoIO.GetException (name, error);
+ }
+ }
+
/* Can't set append mode */
this.append_startpos=0;
}