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
adf8a0cb
Commit
adf8a0cb
authored
Jun 12, 1999
by
Marcus Meissner
Committed by
Alexandre Julliard
Jun 12, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use @sysconfdir@ for the default registries in misc/registry.c too.
parent
e1f81a68
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
Makefile.in
misc/Makefile.in
+2
-1
registry.c
misc/registry.c
+4
-4
No files found.
misc/Makefile.in
View file @
adf8a0cb
DEFS
=
@DLLFLAGS@
-D__WINE__
sysconfdir
=
@sysconfdir@
DEFS
=
@DLLFLAGS@
-D__WINE__
-DETCDIR
=
"
\"
$(sysconfdir)
\"
"
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
..
SRCDIR
=
@srcdir@
...
...
misc/registry.c
View file @
adf8a0cb
...
...
@@ -51,8 +51,8 @@ static void REGISTRY_Init(void);
/* NOTE: do not append a /. linux' mkdir() WILL FAIL if you do that */
#define WINE_PREFIX "/.wine"
#define SAVE_USERS_DEFAULT
"/usr/local/etc
/wine.userreg"
#define SAVE_LOCAL_MACHINE_DEFAULT
"/usr/local/etc
/wine.systemreg"
#define SAVE_USERS_DEFAULT
ETCDIR"
/wine.userreg"
#define SAVE_LOCAL_MACHINE_DEFAULT
ETCDIR"
/wine.systemreg"
/* relative in ~user/.wine/ : */
#define SAVE_CURRENT_USER "user.reg"
...
...
@@ -1883,12 +1883,12 @@ void SHELL_LoadRegistry( void )
_w95_loadreg
(
"user.dat"
,
HKU
);
/*
* Load the global HKU hive directly from
/usr/local/etc
* Load the global HKU hive directly from
sysconfdir
*/
_wine_loadreg
(
HKU
,
SAVE_USERS_DEFAULT
,
0
);
/*
* Load the global machine defaults directly form
/usr/local/etc
* Load the global machine defaults directly form
sysconfdir
*/
_wine_loadreg
(
HKLM
,
SAVE_LOCAL_MACHINE_DEFAULT
,
0
);
...
...
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