diff options
| author | Martin Hořeňovský | 2017-03-06 21:51:22 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2017-03-06 21:51:22 +0100 |
| commit | 613e1466f9ef7e068fd08327fd04cfd25df4fb3b (patch) | |
| tree | 71afe7179e45c8b5b30755c9daf2b0336efe0e12 /projects/SelfTest/ToStringVector.cpp | |
| parent | e95bf48445f60e8cdb720962685d26476964cf22 (diff) | |
| download | catch3-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