occt: master 29cb310a
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
bugmaster | master | 2013-08-22 07:21:09 | master 80cd454f | |
Changeset | 0011758: TCollection strings are not memory safe as reported by Purify Custom string handling code enabled by OptJr macro removed from implementation of strings in TCollection and elsewhere. Functions from string.h are used instead of macros from Standard_String.hxx File Standard_String.hxx and methods ISSIMILAR and HASHCODE of TCollection*String classes are removed (to be replaced by strcasecmp). Functions HashCode for strings reimplemented using DJB2 algorithm for C strings and SDBM algorithm for extended strings. Adding test cases and draw-command for issue CR11758 Fix misprint added with previous integration Fix misprint in the test command. Remove compilation warnings (Linux). Avoid compiler warning "dereferencing type-punned pointer will break strict-aliasing rules" on Linux |
|||
mod - src/BOPTest/BOPTest_BOPCommands.cxx | Diff File | |||
mod - src/BRepTest/BRepTest_TopologyCommands.cxx | Diff File | |||
mod - src/DDataStd/DDataStd_BasicCommands.cxx | Diff File | |||
mod - src/Image/Image_AlienPixMap.cxx | Diff File | |||
mod - src/QABugs/QABugs_19.cxx | Diff File | |||
mod - src/Standard/FILES | Diff File | |||
mod - src/Standard/Standard_CString.cxx | Diff File | |||
mod - src/Standard/Standard_CString.hxx | Diff File | |||
mod - src/Standard/Standard_ExtString.cxx | Diff File | |||
rm - src/Standard/Standard_String.hxx | Diff File | |||
mod - src/TCollection/TCollection_AsciiString.cdl | Diff File | |||
mod - src/TCollection/TCollection_AsciiString.lxx | Diff File | |||
mod - src/TCollection/TCollection_HAsciiString.cxx | Diff File | |||
mod - src/ViewerTest/ViewerTest.cxx | Diff File | |||
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx | Diff File | |||
add - tests/bugs/fclasses/bug11758 | Diff File |