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
0faf9c1f
Commit
0faf9c1f
authored
Feb 20, 2022
by
Nikolay Sivov
Committed by
Alexandre Julliard
Feb 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scrrun: Use same write implementation for pipe stream.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a9c4bda4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
filesystem.c
dlls/scrrun/filesystem.c
+4
-2
filesystem.c
dlls/scrrun/tests/filesystem.c
+0
-2
No files found.
dlls/scrrun/filesystem.c
View file @
0faf9c1f
...
...
@@ -791,9 +791,11 @@ static HRESULT WINAPI pipestream_ReadAll(ITextStream *iface, BSTR *text)
static
HRESULT
WINAPI
pipestream_Write
(
ITextStream
*
iface
,
BSTR
text
)
{
FIXME
(
"%p, %s.
\n
"
,
iface
,
debugstr_w
(
text
)
);
struct
textstream
*
stream
=
impl_from_ITextStream
(
iface
);
return
E_NOTIMPL
;
TRACE
(
"%p, %s.
\n
"
,
iface
,
debugstr_w
(
text
));
return
textstream_write
(
stream
,
text
);
}
static
HRESULT
WINAPI
pipestream_WriteLine
(
ITextStream
*
iface
,
BSTR
text
)
...
...
dlls/scrrun/tests/filesystem.c
View file @
0faf9c1f
...
...
@@ -2656,11 +2656,9 @@ static void test_DoOpenPipeStream(void)
{
str
=
SysAllocString
(
L"data"
);
hr
=
ITextStream_Write
(
stream_write
,
str
);
todo_wine
ok
(
hr
==
S_OK
,
"Unexpected hr %#lx.
\n
"
,
hr
);
hr
=
ITextStream_Write
(
stream_read
,
str
);
todo_wine
ok
(
hr
==
CTL_E_BADFILEMODE
,
"Unexpected hr %#lx.
\n
"
,
hr
);
SysFreeString
(
str
);
...
...
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