CLI: untieStdIO() to avoid unwanted implicit flush() calls on std::cout → less write() calls v_0
authorFrantišek Kučera <franta-hg@frantovo.cz>
Mon, 03 Dec 2018 16:11:40 +0100
branchv_0
changeset 8 21b14ec0bc60
parent 7 f3cc6f4b627f
child 9 c0b16e4bd773
CLI: untieStdIO() to avoid unwanted implicit flush() calls on std::cout → less write() calls
relpipe-in-fstab.cpp
--- a/relpipe-in-fstab.cpp	Thu Nov 29 22:30:11 2018 +0100
+++ b/relpipe-in-fstab.cpp	Mon Dec 03 16:11:40 2018 +0100
@@ -89,6 +89,7 @@
 
 int main(int argc, char** argv) {
 	setlocale(LC_ALL, "");
+	CLI::untieStdIO();
 	//CLI cli(argc, argv);
 
 	int resultCode = CLI::EXIT_CODE_UNEXPECTED_ERROR;