MantisBT
Mantis Bug Tracker Workflow

occt: master fc8918ad Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
abv abv master 2017-09-06 08:14:53 master cda06ac0
Affected Issues 0029081: Foundation Classes, OSD_OpenStream - handle UNICODE file paths specifically in case of Mingw-w64
Changeset 0029081: With Mingw-w64 Unicode Paths Do Not Work

OSD_OpenStream() now uses __gnu_cxx::stdio_filebuf extension for opening UNICODE files on MinGW when using C++ file streams.
Variant accepting filebuf returns bool (true if succeeded and false otherwise).

Checks of ofstream to be opened made via calls to low-level ofstream::rdbuf() are replaced by calls to ofstream::is_open(); state of the stream is also checked (to be good).
Unicode name used for test file in test bugs fclasses bug22125 is described (for possibility to check it).
mod - src/BRepTools/BRepTools.cxx Diff ] File ]
mod - src/Draw/Draw_VariableCommands.cxx Diff ] File ]
mod - src/OSD/OSD_OpenFile.cxx Diff ] File ]
mod - src/OSD/OSD_OpenFile.hxx Diff ] File ]
mod - src/StepSelect/StepSelect_WorkLibrary.cxx Diff ] File ]
mod - tests/bugs/fclasses/bug22125 Diff ] File ]


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker