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
52d10805
Commit
52d10805
authored
Aug 29, 2013
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Aug 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Properly set flag which indicates buffer empty state.
parent
a5eb9eee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
comm.c
dlls/kernel32/tests/comm.c
+1
-0
serial.c
dlls/ntdll/serial.c
+5
-8
No files found.
dlls/kernel32/tests/comm.c
View file @
52d10805
...
@@ -851,6 +851,7 @@ todo_wine
...
@@ -851,6 +851,7 @@ todo_wine
{
{
res
=
GetOverlappedResult
(
hcom
,
&
ovl_wait
,
&
bytes
,
FALSE
);
res
=
GetOverlappedResult
(
hcom
,
&
ovl_wait
,
&
bytes
,
FALSE
);
ok
(
res
,
"GetOverlappedResult reported error %d
\n
"
,
GetLastError
());
ok
(
res
,
"GetOverlappedResult reported error %d
\n
"
,
GetLastError
());
todo_wine
ok
(
bytes
==
sizeof
(
evtmask
),
"expected %u, written %u
\n
"
,
(
UINT
)
sizeof
(
evtmask
),
bytes
);
ok
(
bytes
==
sizeof
(
evtmask
),
"expected %u, written %u
\n
"
,
(
UINT
)
sizeof
(
evtmask
),
bytes
);
res
=
TRUE
;
res
=
TRUE
;
}
}
...
...
dlls/ntdll/serial.c
View file @
52d10805
...
@@ -838,16 +838,13 @@ static NTSTATUS get_irq_info(int fd, serial_irq_info *irq_info)
...
@@ -838,16 +838,13 @@ static NTSTATUS get_irq_info(int fd, serial_irq_info *irq_info)
TRACE
(
"TIOCSERGETLSR err %s
\n
"
,
strerror
(
errno
));
TRACE
(
"TIOCSERGETLSR err %s
\n
"
,
strerror
(
errno
));
#endif
#endif
#ifdef TIOCOUTQ
/* otherwise we log when the out queue gets empty */
#ifdef TIOCOUTQ
/* otherwise we log when the out queue gets empty */
if
(
ioctl
(
fd
,
TIOCOUTQ
,
&
irq_info
->
tem
t
))
if
(
!
ioctl
(
fd
,
TIOCOUTQ
,
&
ou
t
))
{
{
TRACE
(
"TIOCOUTQ err %s
\n
"
,
strerror
(
errno
));
irq_info
->
temt
=
out
==
0
;
return
FILE_GetNtStatus
();
return
STATUS_SUCCESS
;
}
else
{
if
(
irq_info
->
temt
==
0
)
irq_info
->
temt
=
1
;
}
}
TRACE
(
"TIOCOUTQ err %s
\n
"
,
strerror
(
errno
));
return
FILE_GetNtStatus
();
#endif
#endif
return
STATUS_SUCCESS
;
return
STATUS_SUCCESS
;
}
}
...
...
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