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
0a788579
Commit
0a788579
authored
Feb 20, 2001
by
Rein Klazes
Committed by
Alexandre Julliard
Feb 20, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct error message in case DOSFS_OpenDevice() fails on a COMx
device.
parent
ea2a9a89
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
dos_fs.c
files/dos_fs.c
+3
-1
No files found.
files/dos_fs.c
View file @
0a788579
...
@@ -723,6 +723,9 @@ static HANDLE DOSFS_CreateCommPort(LPCSTR name, DWORD access)
...
@@ -723,6 +723,9 @@ static HANDLE DOSFS_CreateCommPort(LPCSTR name, DWORD access)
}
}
SERVER_END_REQ
;
SERVER_END_REQ
;
if
(
!
ret
)
ERR
(
"Couldn't open %s ! (check permissions)
\n
"
,
devname
);
else
TRACE
(
"return %08X
\n
"
,
ret
);
TRACE
(
"return %08X
\n
"
,
ret
);
return
ret
;
return
ret
;
}
}
...
@@ -780,7 +783,6 @@ HANDLE DOSFS_OpenDevice( const char *name, DWORD access )
...
@@ -780,7 +783,6 @@ HANDLE DOSFS_OpenDevice( const char *name, DWORD access )
if
(
(
handle
=
DOSFS_CreateCommPort
(
DOSFS_Devices
[
i
].
name
,
access
))
)
if
(
(
handle
=
DOSFS_CreateCommPort
(
DOSFS_Devices
[
i
].
name
,
access
))
)
return
handle
;
return
handle
;
FIXME
(
"device open %s not supported (yet)
\n
"
,
DOSFS_Devices
[
i
].
name
);
FIXME
(
"device open %s not supported (yet)
\n
"
,
DOSFS_Devices
[
i
].
name
);
return
0
;
return
0
;
}
}
...
...
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