Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
92cc5868
Commit
92cc5868
authored
Jan 23, 2003
by
Greg Turner
Committed by
Alexandre Julliard
Jan 23, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some problems when Extract is used more than once.
parent
714148c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
cabextract.c
dlls/cabinet/cabextract.c
+4
-0
cabinet.h
dlls/cabinet/cabinet.h
+2
-2
No files found.
dlls/cabinet/cabextract.c
View file @
92cc5868
...
...
@@ -46,6 +46,8 @@ WINE_DEFAULT_DEBUG_CHANNEL(cabinet);
*/
cab_UBYTE
search_buf
[
CAB_SEARCH_SIZE
];
cab_decomp_state
decomp_state
;
/* all the file IO is abstracted into these routines:
* cabinet_(open|close|read|seek|skip|getoffset)
* file_(open|close|write)
...
...
@@ -2771,6 +2773,8 @@ BOOL process_cabinet(LPCSTR cabname, LPCSTR dir, BOOL fix, BOOL lower)
/* has the list-mode header been seen before? */
int
viewhdr
=
0
;
ZeroMemory
(
&
decomp_state
,
sizeof
(
cab_decomp_state
));
TRACE
(
"Extract %s
\n
"
,
debugstr_a
(
cabname
));
/* load the file requested */
...
...
dlls/cabinet/cabinet.h
View file @
92cc5868
...
...
@@ -269,7 +269,7 @@ struct cabinet {
cab_UBYTE
flags
;
/* header flags */
};
struct
{
typedef
struct
{
struct
cab_folder
*
current
;
/* current folder we're extracting from */
cab_ULONG
offset
;
/* uncompressed offset within folder */
cab_UBYTE
*
outpos
;
/* (high level) start of data to use up */
...
...
@@ -283,7 +283,7 @@ struct {
struct
QTMstate
qtm
;
struct
LZXstate
lzx
;
}
methods
;
}
decomp_state
;
}
cab_
decomp_state
;
/* from cabextract.c */
BOOL
process_cabinet
(
LPCSTR
cabname
,
LPCSTR
dir
,
BOOL
fix
,
BOOL
lower
);
...
...
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