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
b0d57e5f
Commit
b0d57e5f
authored
Feb 28, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Update the IOSB status in NtCreateNamedPipeFile().
parent
7e28fa5c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
om.c
dlls/ntdll/tests/om.c
+4
-0
file.c
dlls/ntdll/unix/file.c
+1
-1
No files found.
dlls/ntdll/tests/om.c
View file @
b0d57e5f
...
...
@@ -379,6 +379,7 @@ static void test_name_collisions(void)
FILE_OPEN_IF
,
FILE_PIPE_FULL_DUPLEX
,
FALSE
,
FALSE
,
FALSE
,
10
,
256
,
256
,
&
timeout
);
ok
(
status
==
STATUS_SUCCESS
,
"failed to create pipe %08lx
\n
"
,
status
);
ok
(
iosb
.
Status
==
STATUS_SUCCESS
,
"wrong status %08lx
\n
"
,
status
);
ok
(
iosb
.
Information
==
FILE_CREATED
,
"wrong info %Ix
\n
"
,
iosb
.
Information
);
pNtClose
(
h
);
...
...
@@ -388,6 +389,7 @@ static void test_name_collisions(void)
FILE_CREATE
,
FILE_PIPE_FULL_DUPLEX
,
FALSE
,
FALSE
,
FALSE
,
10
,
256
,
256
,
&
timeout
);
ok
(
status
==
STATUS_SUCCESS
,
"failed to create pipe %08lx
\n
"
,
status
);
ok
(
iosb
.
Status
==
STATUS_SUCCESS
,
"wrong status %08lx
\n
"
,
status
);
ok
(
iosb
.
Information
==
FILE_CREATED
,
"wrong info %Ix
\n
"
,
iosb
.
Information
);
memset
(
&
iosb
,
0xcc
,
sizeof
(
iosb
)
);
...
...
@@ -396,6 +398,7 @@ static void test_name_collisions(void)
FILE_OPEN
,
FILE_PIPE_FULL_DUPLEX
,
FALSE
,
FALSE
,
FALSE
,
10
,
256
,
256
,
&
timeout
);
ok
(
status
==
STATUS_SUCCESS
,
"failed to create pipe %08lx
\n
"
,
status
);
ok
(
iosb
.
Status
==
STATUS_SUCCESS
,
"wrong status %08lx
\n
"
,
status
);
ok
(
iosb
.
Information
==
FILE_OPENED
,
"wrong info %Ix
\n
"
,
iosb
.
Information
);
pNtClose
(
h1
);
...
...
@@ -405,6 +408,7 @@ static void test_name_collisions(void)
FILE_OPEN_IF
,
FILE_PIPE_FULL_DUPLEX
,
FALSE
,
FALSE
,
FALSE
,
10
,
256
,
256
,
&
timeout
);
ok
(
status
==
STATUS_SUCCESS
,
"failed to create pipe %08lx
\n
"
,
status
);
ok
(
iosb
.
Status
==
STATUS_SUCCESS
,
"wrong status %08lx
\n
"
,
status
);
ok
(
iosb
.
Information
==
FILE_OPENED
,
"wrong info %Ix
\n
"
,
iosb
.
Information
);
pNtClose
(
h1
);
...
...
dlls/ntdll/unix/file.c
View file @
b0d57e5f
...
...
@@ -4153,7 +4153,7 @@ NTSTATUS WINAPI NtCreateNamedPipeFile( HANDLE *handle, ULONG access, OBJECT_ATTR
SERVER_END_REQ
;
free
(
objattr
);
return
status
;
return
io
->
u
.
Status
=
status
;
}
...
...
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