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
112228df
Commit
112228df
authored
Jul 01, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't bother loading the config file anymore.
parent
dd41c12d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
15 deletions
+0
-15
registry.c
server/registry.c
+0
-15
No files found.
server/registry.c
View file @
112228df
...
...
@@ -1445,9 +1445,6 @@ void init_registry(void)
static
const
WCHAR
root_name
[]
=
{
0
};
static
const
WCHAR
HKLM
[]
=
{
'M'
,
'a'
,
'c'
,
'h'
,
'i'
,
'n'
,
'e'
};
static
const
WCHAR
HKU_default
[]
=
{
'U'
,
's'
,
'e'
,
'r'
,
'\\'
,
'.'
,
'D'
,
'e'
,
'f'
,
'a'
,
'u'
,
'l'
,
't'
};
static
const
WCHAR
config_name
[]
=
{
'M'
,
'a'
,
'c'
,
'h'
,
'i'
,
'n'
,
'e'
,
'\\'
,
'S'
,
'o'
,
'f'
,
't'
,
'w'
,
'a'
,
'r'
,
'e'
,
'\\'
,
'W'
,
'i'
,
'n'
,
'e'
,
'\\'
,
'W'
,
'i'
,
'n'
,
'e'
,
'\\'
,
'C'
,
'o'
,
'n'
,
'f'
,
'i'
,
'g'
,
0
};
const
char
*
config
=
wine_get_config_dir
();
char
*
p
,
*
filename
;
...
...
@@ -1458,7 +1455,6 @@ void init_registry(void)
root_key
=
alloc_key
(
root_name
,
time
(
NULL
)
);
assert
(
root_key
);
/* load the config file */
if
(
!
(
filename
=
malloc
(
strlen
(
config
)
+
16
)))
fatal_error
(
"out of memory
\n
"
);
strcpy
(
filename
,
config
);
p
=
filename
+
strlen
(
filename
);
...
...
@@ -1483,17 +1479,6 @@ void init_registry(void)
load_init_registry_from_file
(
filename
,
key
);
release_object
(
key
);
/* load config into Registry\Machine\Software\Wine\Wine\Config */
if
(
!
(
key
=
create_key
(
root_key
,
copy_path
(
config_name
,
sizeof
(
config_name
),
0
),
NULL
,
0
,
time
(
NULL
),
&
dummy
)))
fatal_error
(
"could not create Config registry key
\n
"
);
key
->
flags
|=
KEY_VOLATILE
;
strcpy
(
p
,
"/config"
);
load_init_registry_from_file
(
filename
,
key
);
release_object
(
key
);
free
(
filename
);
}
...
...
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