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
53f3a831
Commit
53f3a831
authored
Nov 24, 1999
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support to the server for loading new format (version 2) files.
parent
b3d90e4b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
registry.c
misc/registry.c
+19
-0
registry.c
server/registry.c
+0
-0
No files found.
misc/registry.c
View file @
53f3a831
...
@@ -593,10 +593,29 @@ static int _wine_loadsubreg( FILE *F, HKEY hkey, const char *fn )
...
@@ -593,10 +593,29 @@ static int _wine_loadsubreg( FILE *F, HKEY hkey, const char *fn )
return
0
;
return
0
;
}
}
if
(
ver
!=
REGISTRY_SAVE_VERSION
)
{
if
(
ver
!=
REGISTRY_SAVE_VERSION
)
{
if
(
ver
==
2
)
/* new version */
{
HANDLE
file
;
if
((
file
=
FILE_CreateFile
(
fn
,
GENERIC_READ
,
0
,
NULL
,
OPEN_EXISTING
,
FILE_ATTRIBUTE_NORMAL
,
-
1
))
!=
INVALID_HANDLE_VALUE
)
{
struct
load_registry_request
*
req
=
get_req_buffer
();
req
->
hkey
=
hkey
;
req
->
file
=
file
;
req
->
name
[
0
]
=
0
;
server_call
(
REQ_LOAD_REGISTRY
);
CloseHandle
(
file
);
}
free
(
buf
);
return
1
;
}
else
{
TRACE_
(
reg
)(
"Old format (%d) registry found, ignoring it. (buf was %s).
\n
"
,
ver
,
buf
);
TRACE_
(
reg
)(
"Old format (%d) registry found, ignoring it. (buf was %s).
\n
"
,
ver
,
buf
);
free
(
buf
);
free
(
buf
);
return
0
;
return
0
;
}
}
}
if
(
!
_wine_read_line
(
F
,
&
buf
,
&
buflen
))
{
if
(
!
_wine_read_line
(
F
,
&
buf
,
&
buflen
))
{
free
(
buf
);
free
(
buf
);
return
0
;
return
0
;
...
...
server/registry.c
View file @
53f3a831
This diff is collapsed.
Click to expand it.
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