# HG changeset patch # User František Kučera # Date 1543849901 -3600 # Node ID fc58054da255c13057b9b61aa4676e8a689b7bc4 # Parent 8731263d44f1ad77da217bfd3cadb430a598b709 CLI: untieStdIO() to avoid unwanted implicit flush() calls on std::cout → less write() calls diff -r 8731263d44f1 -r fc58054da255 nbproject/configurations.xml --- a/nbproject/configurations.xml Sun Dec 02 20:17:46 2018 +0100 +++ b/nbproject/configurations.xml Mon Dec 03 16:11:41 2018 +0100 @@ -103,6 +103,9 @@ false false + + + @@ -113,7 +116,10 @@ build/Release/src/welcome - src + ../relpipe-lib-reader.cpp/include + ../relpipe-lib-writer.cpp/include + ../relpipe-lib-cli.cpp/include + build/Release/src NDEBUG @@ -126,6 +132,10 @@ true + + + + diff -r 8731263d44f1 -r fc58054da255 src/relpipe-tr-validator.cpp --- a/src/relpipe-tr-validator.cpp Sun Dec 02 20:17:46 2018 +0100 +++ b/src/relpipe-tr-validator.cpp Mon Dec 03 16:11:41 2018 +0100 @@ -16,6 +16,7 @@ * along with this program. If not, see . */ +#include #include #include @@ -38,6 +39,8 @@ using namespace relpipe::tr::validator; int main(int argc, char**argv) { + setlocale(LC_ALL, ""); + CLI::untieStdIO(); CLI cli(argc, argv); int resultCode = CLI::EXIT_CODE_UNEXPECTED_ERROR;