Page MenuHomePhabricator

[Msan] Fix the strerror_r unit test to build on FreeBSD

Authored by kutuzov.viktor.84 on Jan 21 2015, 3:54 AM.

Diff Detail


Event Timeline

kutuzov.viktor.84 retitled this revision from to [Msan] Fix the strerror_r unit test to build on FreeBSD.
kutuzov.viktor.84 updated this object.
kutuzov.viktor.84 edited the test plan for this revision. (Show Details)
kutuzov.viktor.84 added a subscriber: Unknown Object (MLST).
kutuzov.viktor.84 added inline comments.
572 ↗(On Diff #18500)

FreeBSD implements the POSIX variant. The cast to size_t is to suppress the clang's warning on cast to a pointer from an integer of different size.

eugenis accepted this revision.Jan 21 2015, 5:07 AM
eugenis edited edge metadata.


This revision is now accepted and ready to land.Jan 21 2015, 5:07 AM
This revision was automatically updated to reflect the committed changes.