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
74eae57e
Commit
74eae57e
authored
Aug 23, 2023
by
Piotr Caban
Committed by
Alexandre Julliard
Aug 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt/tests: Make registry handle inheritable in test_invalid_stdin tests.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55286
parent
7428b176
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
file.c
dlls/msvcrt/tests/file.c
+4
-0
No files found.
dlls/msvcrt/tests/file.c
View file @
74eae57e
...
...
@@ -1929,6 +1929,10 @@ static void test_invalid_stdin( const char* selfname )
ret
=
RegOpenCurrentUser
(
KEY_READ
,
&
key
);
ok
(
!
ret
,
"RegOpenCurrentUser failed: %lx
\n
"
,
ret
);
ret
=
DuplicateHandle
(
GetCurrentProcess
(),
key
,
GetCurrentProcess
(),
(
HANDLE
*
)
&
key
,
GENERIC_READ
,
TRUE
,
DUPLICATE_CLOSE_SOURCE
);
ok
(
ret
,
"DuplicateHandle failed: %lx
\n
"
,
GetLastError
());
sa
.
nLength
=
sizeof
(
sa
);
sa
.
lpSecurityDescriptor
=
NULL
;
sa
.
bInheritHandle
=
TRUE
;
...
...
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