Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnny Cai
wine
Commits
141d3a3b
Commit
141d3a3b
authored
21 years ago
by
Gregory M. Turner
Committed by
Alexandre Julliard
21 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix some uglies.
parent
656dc7a8
No related branches found
Branches containing commit
Tags
wine-970629
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/cabinet/cabinet.h
+6
-6
6 additions, 6 deletions
dlls/cabinet/cabinet.h
with
6 additions
and
6 deletions
dlls/cabinet/cabinet.h
+
6
−
6
View file @
141d3a3b
...
...
@@ -236,7 +236,7 @@ struct LZXstate {
struct
cab_file
{
struct
cab_file
*
next
;
/* next file in sequence */
struct
cab_folder
*
folder
;
/* folder that contains this file */
LPCSTR
filename
;
/* output name of file */
LPCSTR
filename
;
/* output name of file */
HANDLE
fh
;
/* open file handle or NULL */
cab_ULONG
length
;
/* uncompressed length of file */
cab_ULONG
offset
;
/* uncompressed offset in folder */
...
...
@@ -258,15 +258,15 @@ struct cab_folder {
struct
cabinet
{
struct
cabinet
*
next
;
/* for making a list of cabinets */
LPCSTR
filename
;
/* input name of cabinet */
LPCSTR
filename
;
/* input name of cabinet */
HANDLE
*
fh
;
/* open file handle or NULL */
cab_off_t
filelen
;
/* length of cabinet file */
cab_off_t
blocks_off
;
/* offset to data blocks in file */
struct
cabinet
*
prevcab
,
*
nextcab
;
/* multipart cabinet chains */
char
*
prevname
,
*
nextname
;
/* and their filenames */
char
*
previnfo
,
*
nextinfo
;
/* and their visible names */
struct
cab_folder
*
folders
;
/* first folder in this cabinet */
struct
cab_file
*
files
;
/* first file in this cabinet */
struct
cab_folder
*
folders
;
/* first folder in this cabinet */
struct
cab_file
*
files
;
/* first file in this cabinet */
cab_UBYTE
block_resv
;
/* reserved space in datablocks */
cab_UBYTE
flags
;
/* header flags */
};
...
...
@@ -277,8 +277,8 @@ typedef struct cds_forward {
cab_UBYTE
*
outpos
;
/* (high level) start of data to use up */
cab_UWORD
outlen
;
/* (high level) amount of data to use up */
cab_UWORD
split
;
/* at which split in current folder? */
int
(
*
decompress
)(
int
,
int
,
struct
cds_forward
*
);
/* the
chosen compress
ion func
*/
cab_UBYTE
inbuf
[
CAB_INPUTMAX
+
2
];
/* +2 for lzx bitbuffer overflows! */
int
(
*
decompress
)(
int
,
int
,
struct
cds_forward
*
);
/*
chosen compress
fn
*/
cab_UBYTE
inbuf
[
CAB_INPUTMAX
+
2
];
/* +2 for lzx bitbuffer overflows!
*/
cab_UBYTE
outbuf
[
CAB_BLOCKMAX
];
union
{
struct
ZIPstate
zip
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment