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
51000c17
Commit
51000c17
authored
Nov 24, 2009
by
Paul Chitescu
Committed by
Alexandre Julliard
Nov 24, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineserver: Do not uselessly set the KEY_DIRTY flag on registry keys when loading from file.
parent
2cde6042
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
registry.c
server/registry.c
+1
-4
No files found.
server/registry.c
View file @
51000c17
...
...
@@ -1257,7 +1257,6 @@ static int load_value( struct key *key, const char *buffer, struct file_load_inf
value
->
data
=
newptr
;
value
->
len
=
len
;
value
->
type
=
type
;
make_dirty
(
key
);
return
1
;
error:
...
...
@@ -1266,7 +1265,6 @@ static int load_value( struct key *key, const char *buffer, struct file_load_inf
value
->
data
=
NULL
;
value
->
len
=
0
;
value
->
type
=
REG_NONE
;
make_dirty
(
key
);
return
0
;
}
...
...
@@ -1304,7 +1302,6 @@ static void load_keys( struct key *key, const char *filename, FILE *f, int prefi
struct
key
*
subkey
=
NULL
;
struct
file_load_info
info
;
char
*
p
;
int
flags
=
(
key
->
flags
&
KEY_VOLATILE
)
?
KEY_VOLATILE
:
KEY_DIRTY
;
info
.
filename
=
filename
;
info
.
file
=
f
;
...
...
@@ -1334,7 +1331,7 @@ static void load_keys( struct key *key, const char *filename, FILE *f, int prefi
case
'['
:
/* new key */
if
(
subkey
)
release_object
(
subkey
);
if
(
prefix_len
==
-
1
)
prefix_len
=
get_prefix_len
(
key
,
p
+
1
,
&
info
);
if
(
!
(
subkey
=
load_key
(
key
,
p
+
1
,
flags
,
prefix_len
,
&
info
)))
if
(
!
(
subkey
=
load_key
(
key
,
p
+
1
,
key
->
flags
,
prefix_len
,
&
info
)))
file_read_error
(
"Error creating key"
,
&
info
);
break
;
case
'@'
:
/* default value */
...
...
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