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
e3178f9f
Commit
e3178f9f
authored
Dec 27, 2000
by
Lawson Whitney
Committed by
Alexandre Julliard
Dec 27, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow an application to open a dos device ending with ':'.
parent
5c0f1e10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dos_fs.c
files/dos_fs.c
+3
-3
No files found.
files/dos_fs.c
View file @
e3178f9f
...
...
@@ -662,7 +662,7 @@ const DOS_DEVICE *DOSFS_GetDevice( const char *name )
if
(
!
FILE_strncasecmp
(
dev
,
name
,
strlen
(
dev
)
))
{
p
=
name
+
strlen
(
dev
);
if
(
!*
p
||
(
*
p
==
'.'
))
return
&
DOSFS_Devices
[
i
];
if
(
!*
p
||
(
*
p
==
'.'
)
||
(
*
p
==
':'
)
)
return
&
DOSFS_Devices
[
i
];
}
}
return
NULL
;
...
...
@@ -747,7 +747,7 @@ HFILE DOSFS_OpenDevice( const char *name, DWORD access )
if
(
!
FILE_strncasecmp
(
dev
,
name
,
strlen
(
dev
)
))
{
p
=
name
+
strlen
(
dev
);
if
(
!*
p
||
(
*
p
==
'.'
))
{
if
(
!*
p
||
(
*
p
==
'.'
)
||
(
*
p
==
':'
)
)
{
/* got it */
if
(
!
strcmp
(
DOSFS_Devices
[
i
].
name
,
"NUL"
))
return
FILE_CreateFile
(
"/dev/null"
,
access
,
...
...
@@ -778,7 +778,7 @@ HFILE DOSFS_OpenDevice( const char *name, DWORD access )
return
FILE_CreateDevice
(
i
,
access
,
NULL
);
}
if
(
(
handle
=
DOSFS_CreateCommPort
(
name
,
access
))
)
if
(
(
handle
=
DOSFS_CreateCommPort
(
DOSFS_Devices
[
i
].
name
,
access
))
)
return
handle
;
FIXME
(
"device open %s not supported (yet)
\n
"
,
DOSFS_Devices
[
i
].
name
);
...
...
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