Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
796fd57c
Commit
796fd57c
authored
May 29, 2015
by
Pavel Vaynerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Отключил std::ios::sync_with_stdio(false); (до выяснения всех последствий такого отключения)
parent
f4ca89ff
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
18 additions
and
18 deletions
+18
-18
main.cc
extensions/DBServer-MySQL/main.cc
+1
-1
main.cc
extensions/DBServer-PostgreSQL/main.cc
+1
-1
main.cc
extensions/DBServer-SQLite/main.cc
+1
-1
iocalibr.cc
extensions/IOControl/iocalibr.cc
+1
-1
iocontrol.cc
extensions/IOControl/iocontrol.cc
+1
-1
logicproc.cc
extensions/LogicProcessor/logicproc.cc
+1
-1
plogicproc.cc
extensions/LogicProcessor/plogicproc.cc
+1
-1
main.cc
extensions/ModbusMaster/main.cc
+1
-1
mtr-conv.cc
extensions/ModbusMaster/mtr-conv.cc
+1
-1
mtr-read.cc
extensions/ModbusMaster/mtr-read.cc
+1
-1
mtr-setup.cc
extensions/ModbusMaster/mtr-setup.cc
+1
-1
rtuexchange.cc
extensions/ModbusMaster/rtuexchange.cc
+1
-1
mbslave.cc
extensions/ModbusSlave/mbslave.cc
+1
-1
mbtcp-multislave.cc
extensions/ModbusSlave/mbtcp-multislave.cc
+1
-1
main.cc
extensions/RRDServer/main.cc
+1
-1
smemory.cc
extensions/SharedMemory/smemory.cc
+1
-1
smemory-plus.cc
extensions/SharedMemoryPlus/smemory-plus.cc
+1
-1
unetexchange.cc
extensions/UNetUDP/unetexchange.cc
+1
-1
No files found.
extensions/DBServer-MySQL/main.cc
View file @
796fd57c
...
@@ -8,7 +8,7 @@ using namespace std;
...
@@ -8,7 +8,7 @@ using namespace std;
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
int
main
(
int
argc
,
char
**
argv
)
int
main
(
int
argc
,
char
**
argv
)
{
{
std
::
ios
::
sync_with_stdio
(
false
);
//
std::ios::sync_with_stdio(false);
try
try
{
{
...
...
extensions/DBServer-PostgreSQL/main.cc
View file @
796fd57c
...
@@ -8,7 +8,7 @@ using namespace std;
...
@@ -8,7 +8,7 @@ using namespace std;
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
int
main
(
int
argc
,
char
**
argv
)
int
main
(
int
argc
,
char
**
argv
)
{
{
std
::
ios
::
sync_with_stdio
(
false
);
//
std::ios::sync_with_stdio(false);
try
try
{
{
...
...
extensions/DBServer-SQLite/main.cc
View file @
796fd57c
...
@@ -13,7 +13,7 @@ static void short_usage()
...
@@ -13,7 +13,7 @@ static void short_usage()
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
int
main
(
int
argc
,
char
**
argv
)
int
main
(
int
argc
,
char
**
argv
)
{
{
std
::
ios
::
sync_with_stdio
(
false
);
//
std::ios::sync_with_stdio(false);
try
try
{
{
...
...
extensions/IOControl/iocalibr.cc
View file @
796fd57c
...
@@ -76,7 +76,7 @@ static struct option longopts[] =
...
@@ -76,7 +76,7 @@ static struct option longopts[] =
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
int
main
(
int
argc
,
char
*
argv
[])
int
main
(
int
argc
,
char
*
argv
[])
{
{
std
::
ios
::
sync_with_stdio
(
false
);
//
std::ios::sync_with_stdio(false);
comedi_t
*
card
;
comedi_t
*
card
;
const
char
*
dev
=
"/dev/comedi0"
;
const
char
*
dev
=
"/dev/comedi0"
;
lsampl_t
data
=
0
;
lsampl_t
data
=
0
;
...
...
extensions/IOControl/iocontrol.cc
View file @
796fd57c
...
@@ -11,7 +11,7 @@ using namespace UniSetExtensions;
...
@@ -11,7 +11,7 @@ using namespace UniSetExtensions;
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
int
main
(
int
argc
,
const
char
**
argv
)
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
)
if
(
argc
>
1
&&
strcmp
(
argv
[
1
],
"--help"
)
==
0
)
{
{
...
...
extensions/LogicProcessor/logicproc.cc
View file @
796fd57c
...
@@ -9,7 +9,7 @@ using namespace UniSetExtensions;
...
@@ -9,7 +9,7 @@ using namespace UniSetExtensions;
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
int
main
(
int
argc
,
const
char
**
argv
)
int
main
(
int
argc
,
const
char
**
argv
)
{
{
std
::
ios
::
sync_with_stdio
(
false
);
//
std::ios::sync_with_stdio(false);
try
try
{
{
...
...
extensions/LogicProcessor/plogicproc.cc
View file @
796fd57c
...
@@ -11,7 +11,7 @@ using namespace UniSetExtensions;
...
@@ -11,7 +11,7 @@ using namespace UniSetExtensions;
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
int
main
(
int
argc
,
const
char
**
argv
)
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"
))
)
if
(
argc
>
1
&&
(
!
strcmp
(
argv
[
1
],
"--help"
)
||
!
strcmp
(
argv
[
1
],
"-h"
))
)
{
{
...
...
extensions/ModbusMaster/main.cc
View file @
796fd57c
...
@@ -11,7 +11,7 @@ using namespace UniSetExtensions;
...
@@ -11,7 +11,7 @@ using namespace UniSetExtensions;
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
int
main
(
int
argc
,
const
char
**
argv
)
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"
))
)
if
(
argc
>
1
&&
(
!
strcmp
(
argv
[
1
],
"--help"
)
||
!
strcmp
(
argv
[
1
],
"-h"
))
)
{
{
...
...
extensions/ModbusMaster/mtr-conv.cc
View file @
796fd57c
...
@@ -14,7 +14,7 @@ static void print_help()
...
@@ -14,7 +14,7 @@ static void print_help()
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
int
main
(
int
argc
,
const
char
**
argv
)
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
v1
=
0
;
unsigned
short
v2
=
0
;
unsigned
short
v2
=
0
;
const
char
*
type
=
""
;
const
char
*
type
=
""
;
...
...
extensions/ModbusMaster/mtr-read.cc
View file @
796fd57c
...
@@ -58,7 +58,7 @@ static void readMTR( ModbusRTUMaster* mb, ModbusRTU::ModbusAddr addr,
...
@@ -58,7 +58,7 @@ static void readMTR( ModbusRTUMaster* mb, ModbusRTU::ModbusAddr addr,
int
main
(
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
;
Command
cmd
=
cmdNOP
;
int
optindex
=
0
;
int
optindex
=
0
;
int
opt
=
0
;
int
opt
=
0
;
...
...
extensions/ModbusMaster/mtr-setup.cc
View file @
796fd57c
...
@@ -74,7 +74,7 @@ static char* checkArg( int ind, int argc, char* argv[] );
...
@@ -74,7 +74,7 @@ static char* checkArg( int ind, int argc, char* argv[] );
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
int
main
(
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
;
Command
cmd
=
cmdNOP
;
int
optindex
=
0
;
int
optindex
=
0
;
int
opt
=
0
;
int
opt
=
0
;
...
...
extensions/ModbusMaster/rtuexchange.cc
View file @
796fd57c
...
@@ -9,7 +9,7 @@ using namespace UniSetExtensions;
...
@@ -9,7 +9,7 @@ using namespace UniSetExtensions;
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
int
main
(
int
argc
,
char
**
argv
)
int
main
(
int
argc
,
char
**
argv
)
{
{
std
::
ios
::
sync_with_stdio
(
false
);
//
std::ios::sync_with_stdio(false);
try
try
{
{
...
...
extensions/ModbusSlave/mbslave.cc
View file @
796fd57c
...
@@ -15,7 +15,7 @@ using namespace std;
...
@@ -15,7 +15,7 @@ using namespace std;
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
int
main
(
int
argc
,
const
char
**
argv
)
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"
))
)
if
(
argc
>
1
&&
(
!
strcmp
(
argv
[
1
],
"--help"
)
||
!
strcmp
(
argv
[
1
],
"-h"
))
)
{
{
...
...
extensions/ModbusSlave/mbtcp-multislave.cc
View file @
796fd57c
...
@@ -15,7 +15,7 @@ using namespace std;
...
@@ -15,7 +15,7 @@ using namespace std;
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
int
main
(
int
argc
,
const
char
**
argv
)
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"
))
)
if
(
argc
>
1
&&
(
!
strcmp
(
argv
[
1
],
"--help"
)
||
!
strcmp
(
argv
[
1
],
"-h"
))
)
{
{
...
...
extensions/RRDServer/main.cc
View file @
796fd57c
...
@@ -11,7 +11,7 @@ using namespace UniSetExtensions;
...
@@ -11,7 +11,7 @@ using namespace UniSetExtensions;
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
int
main
(
int
argc
,
const
char
**
argv
)
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"
))
)
if
(
argc
>
1
&&
(
!
strcmp
(
argv
[
1
],
"--help"
)
||
!
strcmp
(
argv
[
1
],
"-h"
))
)
{
{
...
...
extensions/SharedMemory/smemory.cc
View file @
796fd57c
...
@@ -10,7 +10,7 @@ using namespace UniSetExtensions;
...
@@ -10,7 +10,7 @@ using namespace UniSetExtensions;
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
int
main
(
int
argc
,
const
char
**
argv
)
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
)
)
if
(
argc
>
1
&&
(
strcmp
(
argv
[
1
],
"--help"
)
==
0
||
strcmp
(
argv
[
1
],
"-h"
)
==
0
)
)
{
{
...
...
extensions/SharedMemoryPlus/smemory-plus.cc
View file @
796fd57c
...
@@ -35,7 +35,7 @@ std::list< ThreadCreator<IOControl>* > lst_iothr;
...
@@ -35,7 +35,7 @@ std::list< ThreadCreator<IOControl>* > lst_iothr;
// --------------------------------------------------------------------------
// --------------------------------------------------------------------------
int
main
(
int
argc
,
const
char
**
argv
)
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
)
)
if
(
argc
>
1
&&
(
strcmp
(
argv
[
1
],
"--help"
)
==
0
||
strcmp
(
argv
[
1
],
"-h"
)
==
0
)
)
{
{
...
...
extensions/UNetUDP/unetexchange.cc
View file @
796fd57c
...
@@ -9,7 +9,7 @@ using namespace UniSetExtensions;
...
@@ -9,7 +9,7 @@ using namespace UniSetExtensions;
// -----------------------------------------------------------------------------
// -----------------------------------------------------------------------------
int
main
(
int
argc
,
const
char
**
argv
)
int
main
(
int
argc
,
const
char
**
argv
)
{
{
std
::
ios
::
sync_with_stdio
(
false
);
//
std::ios::sync_with_stdio(false);
try
try
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment