Commit 796fd57c authored by Pavel Vaynerman's avatar Pavel Vaynerman

Отключил std::ios::sync_with_stdio(false); (до выяснения всех последствий такого отключения)

parent f4ca89ff
......@@ -8,7 +8,7 @@ using namespace std;
// --------------------------------------------------------------------------
int main(int argc, char** argv)
{
std::ios::sync_with_stdio(false);
// std::ios::sync_with_stdio(false);
try
{
......
......@@ -8,7 +8,7 @@ using namespace std;
// --------------------------------------------------------------------------
int main(int argc, char** argv)
{
std::ios::sync_with_stdio(false);
// std::ios::sync_with_stdio(false);
try
{
......
......@@ -13,7 +13,7 @@ static void short_usage()
// --------------------------------------------------------------------------
int main(int argc, char** argv)
{
std::ios::sync_with_stdio(false);
// std::ios::sync_with_stdio(false);
try
{
......
......@@ -76,7 +76,7 @@ static struct option longopts[] =
// --------------------------------------------------------------------------
int main(int argc, char* argv[])
{
std::ios::sync_with_stdio(false);
// std::ios::sync_with_stdio(false);
comedi_t* card;
const char* dev = "/dev/comedi0";
lsampl_t data = 0;
......
......@@ -11,7 +11,7 @@ using namespace UniSetExtensions;
// --------------------------------------------------------------------------
int main(int argc, const char** argv)
{
std::ios::sync_with_stdio(false);
// std::ios::sync_with_stdio(false);
if( argc > 1 && strcmp(argv[1], "--help") == 0 )
{
......
......@@ -9,7 +9,7 @@ using namespace UniSetExtensions;
// -----------------------------------------------------------------------------
int main(int argc, const char** argv)
{
std::ios::sync_with_stdio(false);
// std::ios::sync_with_stdio(false);
try
{
......
......@@ -11,7 +11,7 @@ using namespace UniSetExtensions;
// -----------------------------------------------------------------------------
int main(int argc, const char** argv)
{
std::ios::sync_with_stdio(false);
// std::ios::sync_with_stdio(false);
if( argc > 1 && (!strcmp(argv[1], "--help") || !strcmp(argv[1], "-h")) )
{
......
......@@ -11,7 +11,7 @@ using namespace UniSetExtensions;
// -----------------------------------------------------------------------------
int main( int argc, const char** argv )
{
std::ios::sync_with_stdio(false);
//std::ios::sync_with_stdio(false);
if( argc > 1 && (!strcmp(argv[1], "--help") || !strcmp(argv[1], "-h")) )
{
......
......@@ -14,7 +14,7 @@ static void print_help()
// --------------------------------------------------------------------------
int main( int argc, const char** argv )
{
std::ios::sync_with_stdio(false);
// std::ios::sync_with_stdio(false);
unsigned short v1 = 0;
unsigned short v2 = 0;
const char* type = "";
......
......@@ -58,7 +58,7 @@ static void readMTR( ModbusRTUMaster* mb, ModbusRTU::ModbusAddr addr,
int main( int argc, char** argv )
{
std::ios::sync_with_stdio(false);
// std::ios::sync_with_stdio(false);
Command cmd = cmdNOP;
int optindex = 0;
int opt = 0;
......
......@@ -74,7 +74,7 @@ static char* checkArg( int ind, int argc, char* argv[] );
// --------------------------------------------------------------------------
int main( int argc, char** argv )
{
std::ios::sync_with_stdio(false);
// std::ios::sync_with_stdio(false);
Command cmd = cmdNOP;
int optindex = 0;
int opt = 0;
......
......@@ -9,7 +9,7 @@ using namespace UniSetExtensions;
// -----------------------------------------------------------------------------
int main( int argc, char** argv )
{
std::ios::sync_with_stdio(false);
// std::ios::sync_with_stdio(false);
try
{
......
......@@ -15,7 +15,7 @@ using namespace std;
// --------------------------------------------------------------------------
int main(int argc, const char** argv)
{
std::ios::sync_with_stdio(false);
// std::ios::sync_with_stdio(false);
if( argc > 1 && (!strcmp(argv[1], "--help") || !strcmp(argv[1], "-h")) )
{
......
......@@ -15,7 +15,7 @@ using namespace std;
// --------------------------------------------------------------------------
int main(int argc, const char** argv)
{
std::ios::sync_with_stdio(false);
// std::ios::sync_with_stdio(false);
if( argc > 1 && (!strcmp(argv[1], "--help") || !strcmp(argv[1], "-h")) )
{
......
......@@ -11,7 +11,7 @@ using namespace UniSetExtensions;
// -----------------------------------------------------------------------------
int main( int argc, const char** argv )
{
std::ios::sync_with_stdio(false);
// std::ios::sync_with_stdio(false);
if( argc > 1 && (!strcmp(argv[1], "--help") || !strcmp(argv[1], "-h")) )
{
......
......@@ -10,7 +10,7 @@ using namespace UniSetExtensions;
// --------------------------------------------------------------------------
int main(int argc, const char** argv)
{
std::ios::sync_with_stdio(false);
// std::ios::sync_with_stdio(false);
if( argc > 1 && ( strcmp(argv[1], "--help") == 0 || strcmp(argv[1], "-h") == 0 ) )
{
......
......@@ -35,7 +35,7 @@ std::list< ThreadCreator<IOControl>* > lst_iothr;
// --------------------------------------------------------------------------
int main( int argc, const char** argv )
{
std::ios::sync_with_stdio(false);
// std::ios::sync_with_stdio(false);
if( argc > 1 && ( strcmp(argv[1], "--help") == 0 || strcmp(argv[1], "-h") == 0 ) )
{
......
......@@ -9,7 +9,7 @@ using namespace UniSetExtensions;
// -----------------------------------------------------------------------------
int main( int argc, const char** argv )
{
std::ios::sync_with_stdio(false);
// std::ios::sync_with_stdio(false);
try
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment