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
97b074d2
Commit
97b074d2
authored
Aug 29, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Aug 30, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Fix invalid RegSetValueExW call in WCMD_assoc.
parent
c08459d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
builtins.c
programs/cmd/builtins.c
+2
-1
test_builtins.cmd.exp
programs/cmd/tests/test_builtins.cmd.exp
+2
-2
No files found.
programs/cmd/builtins.c
View file @
97b074d2
...
...
@@ -2943,7 +2943,8 @@ void WCMD_assoc (const WCHAR *command, BOOL assoc) {
accessOptions
,
NULL
,
&
readKey
,
NULL
);
if
(
rc
==
ERROR_SUCCESS
)
{
rc
=
RegSetValueExW
(
readKey
,
NULL
,
0
,
REG_SZ
,
(
LPBYTE
)
newValue
,
strlenW
(
newValue
));
(
LPBYTE
)
newValue
,
sizeof
(
WCHAR
)
*
(
strlenW
(
newValue
)
+
1
));
RegCloseKey
(
readKey
);
}
...
...
programs/cmd/tests/test_builtins.cmd.exp
View file @
97b074d2
...
...
@@ -658,9 +658,9 @@ file created in read-only dir
...setting association
***
.foo=bar
@todo_wine@
.foo=bar
.foo=bar
+++
@todo_wine@
.foo=bar
.foo=bar
...resetting association
***
+++
...
...
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