View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0024259 | Open CASCADE | OCCT:Foundation Classes | public | 2013-10-15 06:53 | 2015-09-09 11:57 |
Reporter | Assigned To | bugmaster | |||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Platform | Windows | OS | VC++ 2008 | ||
Product Version | 6.7.0 | ||||
Target Version | 6.7.0 | Fixed in Version | 6.7.0 | ||
Summary | 0024259: Clean up OSD_File implementation | ||||
Description | Current implementation of OSD_FileNode and OSD_File is inconsistent between Linux and Windows as it uses the same field myFileChannel for file descriptor (int) on Linux and handle (void*) on Windows. | ||||
Tags | No tags attached. | ||||
Test case number | Not needed | ||||
|
Fix pushed to CR24259, please review |
|
Patch is ready for testing. |
|
Dear BugMaster, Branch CR24259 (and products from GIT master) was compiled on Linux and Windows platforms and tested. SHA-1: 2ab8677954233e0a3be4b7e8d85bde882f075c7b Number of compiler warnings: occt component : Linux: 379 (370 on master) Windows: 6 (6 on master) products component : Linux: 189 (191 on master) Windows: 287 (287 on master) Regressions/Differences: No regressions/differences Testing cases: Not needed Testing on Linux: Total MEMORY difference: 353308548 / 353398924 Total CPU difference: 37487.36000000012 / 43385.60000000097 Testing on Windows: Total MEMORY difference: 407067180 / 411317668 Total CPU difference: 32126.5625 / 37715.5625 There are not differences in images found by testdiff. |
occt: master 6ff736d8 2013-10-15 02:58:03
Committer: bugmaster Details Diff |
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). |
Affected Issues 0024259 |
|
mod - src/OSD/OSD_File.cdl | Diff File | ||
mod - src/OSD/OSD_File.cxx | Diff File | ||
mod - src/OSD/OSD_FileNode.cdl | Diff File | ||
mod - src/OSD/OSD_FileNode.cxx | Diff File | ||
mod - src/RWStl/RWStl.cxx | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-10-15 06:53 |
|
New Issue | |
2013-10-15 06:53 |
|
Assigned To | => abv |
2013-10-15 09:36 |
|
Note Added: 0026077 | |
2013-10-15 09:36 |
|
Assigned To | abv => kgv |
2013-10-15 09:36 |
|
Status | new => resolved |
2013-10-15 10:31 | kgv | Note Added: 0026078 | |
2013-10-15 10:31 | kgv | Assigned To | kgv => bugmaster |
2013-10-15 10:31 | kgv | Status | resolved => reviewed |
2013-10-15 16:55 |
|
Assigned To | bugmaster => mkv |
2013-10-16 10:11 |
|
Note Added: 0026097 | |
2013-10-16 10:12 |
|
Test case number | => Not needed |
2013-10-16 10:12 |
|
Assigned To | mkv => bugmaster |
2013-10-16 10:12 |
|
Status | reviewed => tested |
2013-10-18 13:47 | bugmaster | Changeset attached | => occt master 6ff736d8 |
2013-10-18 13:47 | bugmaster | Status | tested => verified |
2013-10-18 13:47 | bugmaster | Resolution | open => fixed |
2013-12-19 13:51 | bugmaster | Status | verified => closed |
2013-12-19 13:58 | bugmaster | Fixed in Version | => 6.7.0 |
2014-03-13 14:42 | kgv | Relationship added | related to 0024724 |
2015-09-09 11:57 |
|
Relationship added | related to 0013287 |