2
0
mirror of https://github.com/boostorg/nowide.git synced 2026-02-14 12:52:17 +00:00
Commit Graph

7 Commits

Author SHA1 Message Date
Flamefire
2988c60f61 Handle failure in putenv caused by GLIBC extension
The GNU C library implementation provides a nonstandard extension.
If string does not include an equal sign:

putenv("NAME");

then the named variable is removed from the caller's environment.
http://man7.org/linux/man-pages/man3/putenv.3.html
2019-12-14 15:47:53 +01:00
Flamefire
035a21bc9e Add test for putenv without equals sign
Reproducer for #14
2019-12-14 15:47:53 +01:00
Flamefire
f213fd90f4 Fix exception path of tests
Even in case of exceptions boost::report_errors has to be called
2019-12-13 19:24:44 +01:00
Peter Dimov
6df39fc829 Switch back to using test.hpp in tests 2019-12-04 16:29:56 +02:00
Peter Dimov
ac7b93b55d Use lightweight_test 2019-12-03 16:21:45 +02:00
Peter Dimov
8dc69504ca Disable MS deprecation messages using _CRT_SECURE_NO_WARNINGS, because this works for clang-cl as well 2019-12-03 04:46:53 +02:00
Artyom Beilis
bfbca14bd3 Moved various files according to new boost format 2015-10-01 18:57:14 +03:00