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
c4409265
Commit
c4409265
authored
Sep 24, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conhost/tests: Don't use inheritable handle for console pipe end.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
0e3edfd9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tty.c
programs/conhost/tests/tty.c
+1
-1
No files found.
programs/conhost/tests/tty.c
View file @
c4409265
...
...
@@ -1316,7 +1316,7 @@ static HPCON create_pseudo_console(HANDLE *console_pipe_end, HANDLE *child_proce
ok
(
console_pipe
!=
INVALID_HANDLE_VALUE
,
"CreateNamedPipeW failed: %u
\n
"
,
GetLastError
());
*
console_pipe_end
=
CreateFileW
(
L"
\\\\
.
\\
pipe
\\
pseudoconsoleconn"
,
GENERIC_READ
|
GENERIC_WRITE
,
0
,
&
sec_attr
,
OPEN_EXISTING
,
FILE_FLAG_OVERLAPPED
,
NULL
);
0
,
NULL
,
OPEN_EXISTING
,
FILE_FLAG_OVERLAPPED
,
NULL
);
ok
(
*
console_pipe_end
!=
INVALID_HANDLE_VALUE
,
"CreateFile failed: %u
\n
"
,
GetLastError
());
child_pipe
=
CreateNamedPipeW
(
L"
\\\\
.
\\
pipe
\\
pseudoconsoleserver"
,
PIPE_ACCESS_DUPLEX
,
...
...
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