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
72ba00ff
Commit
72ba00ff
authored
Nov 20, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
server: Only require REG_OPTION_VOLATILE when creating a new key.
parent
9adbd8ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
registry.c
server/registry.c
+5
-5
No files found.
server/registry.c
View file @
72ba00ff
...
@@ -612,11 +612,6 @@ static struct key *create_key( struct key *key, const struct unicode_str *name,
...
@@ -612,11 +612,6 @@ static struct key *create_key( struct key *key, const struct unicode_str *name,
set_error
(
STATUS_KEY_DELETED
);
set_error
(
STATUS_KEY_DELETED
);
return
NULL
;
return
NULL
;
}
}
if
(
!
(
flags
&
KEY_VOLATILE
)
&&
(
key
->
flags
&
KEY_VOLATILE
))
{
set_error
(
STATUS_CHILD_MUST_BE_VOLATILE
);
return
NULL
;
}
token
.
str
=
NULL
;
token
.
str
=
NULL
;
if
(
!
get_path_token
(
name
,
&
token
))
return
NULL
;
if
(
!
get_path_token
(
name
,
&
token
))
return
NULL
;
...
@@ -632,6 +627,11 @@ static struct key *create_key( struct key *key, const struct unicode_str *name,
...
@@ -632,6 +627,11 @@ static struct key *create_key( struct key *key, const struct unicode_str *name,
/* create the remaining part */
/* create the remaining part */
if
(
!
token
.
len
)
goto
done
;
if
(
!
token
.
len
)
goto
done
;
if
(
!
(
flags
&
KEY_VOLATILE
)
&&
(
key
->
flags
&
KEY_VOLATILE
))
{
set_error
(
STATUS_CHILD_MUST_BE_VOLATILE
);
return
NULL
;
}
*
created
=
1
;
*
created
=
1
;
if
(
flags
&
KEY_DIRTY
)
make_dirty
(
key
);
if
(
flags
&
KEY_DIRTY
)
make_dirty
(
key
);
if
(
!
(
key
=
alloc_subkey
(
key
,
&
token
,
index
,
modif
)))
return
NULL
;
if
(
!
(
key
=
alloc_subkey
(
key
,
&
token
,
index
,
modif
)))
return
NULL
;
...
...
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