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
01c7ee2f
Commit
01c7ee2f
authored
Jan 26, 1999
by
Marcus Meissner
Committed by
Alexandre Julliard
Jan 26, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allocate a DOS handle if we open a normal file with LZOpenFile16.
parent
6e953990
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
lzexpand.c
misc/lzexpand.c
+8
-1
No files found.
misc/lzexpand.c
View file @
01c7ee2f
...
...
@@ -540,7 +540,14 @@ static LPSTR LZEXPAND_MangleName( LPCSTR fn )
*/
HFILE16
WINAPI
LZOpenFile16
(
LPCSTR
fn
,
LPOFSTRUCT
ofs
,
UINT16
mode
)
{
return
LZOpenFile32A
(
fn
,
ofs
,
mode
);
HFILE32
hfret
;
hfret
=
LZOpenFile32A
(
fn
,
ofs
,
mode
);
/* return errors and LZ handles unmodified */
if
(
IS_LZ_HANDLE
(
hfret
)
||
(
hfret
>=
0xfff0
)
||
(
hfret
<=
0
))
return
hfret
;
/* but allocate a dos handle for 'normal' files */
return
FILE_AllocDosHandle
(
hfret
);
}
...
...
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