0024259: Clean up OSD_File implementation

Field myFileChannel removed from OSD_FileNode and introduced to OSD_File as Linux-only along with Windows-only myFileHandle.
Implementation of OSD_File cleaned from redundant type casts; some missing type cases added.
File mode passed to fdopen() corrected in read-write case ("rw" replaced by "w+").
Method OSD_File::Size() now returns Standard_Size to be able to return correct value for large files (on 64-bit platforms only).
This commit is contained in:
abv
2013-10-15 06:58:03 +04:00
committed by bugmaster
parent 8fa64b522f
commit 6ff736d802
5 changed files with 144 additions and 437 deletions

View File

@@ -130,7 +130,6 @@ is
fields
myPath : Path is protected; -- system independent path name
myFileChannel : Integer is protected; -- file descriptor
myError : Error is protected;
end FileNode from OSD;