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
dcb97335
Commit
dcb97335
authored
Jul 09, 2000
by
Stefan Leichter
Committed by
Alexandre Julliard
Jul 09, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes the BuildCommDCBA function.
parent
01f78aaa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
comm.c
misc/comm.c
+6
-1
No files found.
misc/comm.c
View file @
dcb97335
...
...
@@ -347,6 +347,11 @@ static void comm_waitwrite(struct DosDeviceStruct *ptr)
/**************************************************************************
* BuildCommDCB (USER.213)
*
* According to the ECMA-234 (368.3) the function will return FALSE on
* success, otherwise it will return -1.
* IF THIS IS NOT CORRECT THE RETURNVALUE CHECK IN BuildCommDCBAndTimeoutsA
* NEEDS TO BE FIXED
*/
BOOL16
WINAPI
BuildCommDCB16
(
LPCSTR
device
,
LPDCB16
lpdcb
)
{
...
...
@@ -1497,7 +1502,7 @@ BOOL WINAPI BuildCommDCBAndTimeoutsA(LPCSTR device, LPDCB lpdcb,
char
last
=
temp
[
strlen
(
temp
)
-
1
];
ret
=
BuildCommDCB16
(
device
,
&
dcb16
);
if
(
!
ret
)
if
(
ret
)
return
FALSE
;
lpdcb
->
BaudRate
=
dcb16
.
BaudRate
;
lpdcb
->
ByteSize
=
dcb16
.
ByteSize
;
...
...
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