Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/projects/SelfTest/ToStringVector.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2017-03-06 21:51:22 +0100
committerMartin Hořeňovský2017-03-06 21:51:22 +0100
commit613e1466f9ef7e068fd08327fd04cfd25df4fb3b (patch)
tree71afe7179e45c8b5b30755c9daf2b0336efe0e12 /projects/SelfTest/ToStringVector.cpp
parente95bf48445f60e8cdb720962685d26476964cf22 (diff)
downloadcatch3-613e1466f9ef7e068fd08327fd04cfd25df4fb3b.tar.gz
Save errno before using sprintf, ifstream.
std::ifstream in libstdc++ contains a bug, where it sets errno to zero. To work around it, we manually save the errno before using std::ifstream in debugger check, and reset it after we are done. We also preventively save errno before using sprintf. Fixes #835
Diffstat (limited to 'projects/SelfTest/ToStringVector.cpp')
0 files changed, 0 insertions, 0 deletions