Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fa4304f0
Commit
fa4304f0
authored
Oct 28, 2007
by
Tom Brus
Committed by
Alexandre Julliard
Oct 29, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Serial/COM code misinterpreted XON/XOFF direction.
parent
dfe21d0e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
serial.c
dlls/ntdll/serial.c
+6
-6
No files found.
dlls/ntdll/serial.c
View file @
fa4304f0
...
...
@@ -227,9 +227,9 @@ static NTSTATUS get_hand_flow(int fd, SERIAL_HANDFLOW* shf)
#endif
shf
->
ControlHandShake
|=
SERIAL_RTS_CONTROL
;
}
if
(
port
.
c_iflag
&
IXON
)
shf
->
FlowReplace
|=
SERIAL_AUTO_RECEIVE
;
if
(
port
.
c_iflag
&
IXOFF
)
shf
->
FlowReplace
|=
SERIAL_AUTO_RECEIVE
;
if
(
port
.
c_iflag
&
IXON
)
shf
->
FlowReplace
|=
SERIAL_AUTO_TRANSMIT
;
shf
->
XonLimit
=
10
;
...
...
@@ -611,13 +611,13 @@ static NTSTATUS set_handflow(int fd, const SERIAL_HANDFLOW* shf)
#endif
if
(
shf
->
FlowReplace
&
SERIAL_AUTO_RECEIVE
)
port
.
c_iflag
|=
IXON
;
else
port
.
c_iflag
&=
~
IXON
;
if
(
shf
->
FlowReplace
&
SERIAL_AUTO_TRANSMIT
)
port
.
c_iflag
|=
IXOFF
;
else
port
.
c_iflag
&=
~
IXOFF
;
if
(
shf
->
FlowReplace
&
SERIAL_AUTO_TRANSMIT
)
port
.
c_iflag
|=
IXON
;
else
port
.
c_iflag
&=
~
IXON
;
if
(
tcsetattr
(
fd
,
TCSANOW
,
&
port
)
==
-
1
)
{
ERR
(
"tcsetattr error '%s'
\n
"
,
strerror
(
errno
));
...
...
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