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
f4f5d06d
Commit
f4f5d06d
authored
Aug 28, 2013
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Aug 28, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Stop waiting for COM-port events if the device handle gets closed.
parent
b299d4d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
serial.c
dlls/ntdll/serial.c
+5
-1
No files found.
dlls/ntdll/serial.c
View file @
f4f5d06d
...
...
@@ -306,7 +306,7 @@ static NTSTATUS get_modem_status(int fd, DWORD* lpModemStat)
(
*
lpModemStat
&
MS_CTS_ON
)
?
"MS_CTS_ON "
:
""
);
return
STATUS_SUCCESS
;
}
WARN
(
"
ioctl failed
\n
"
);
WARN
(
"
TIOCMGET err %s
\n
"
,
strerror
(
errno
)
);
status
=
FILE_GetNtStatus
();
#endif
return
status
;
...
...
@@ -928,7 +928,11 @@ static DWORD CALLBACK wait_for_event(LPVOID arg)
NtDelayExecution
(
FALSE
,
&
time
);
get_irq_info
(
fd
,
&
new_irq_info
);
if
(
get_modem_status
(
fd
,
&
new_mstat
))
{
TRACE
(
"get_modem_status failed
\n
"
);
*
commio
->
events
=
0
;
break
;
}
*
commio
->
events
=
check_events
(
fd
,
commio
->
evtmask
,
&
new_irq_info
,
&
commio
->
irq_info
,
new_mstat
,
commio
->
mstat
);
...
...
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