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
30b661ad
Commit
30b661ad
authored
Mar 27, 2016
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 28, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3/mxwriter: Use 4K for internal buffer size.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
737d90c2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
mxwriter.c
dlls/msxml3/mxwriter.c
+2
-2
saxreader.c
dlls/msxml3/tests/saxreader.c
+0
-1
No files found.
dlls/msxml3/mxwriter.c
View file @
30b661ad
/*
* MXWriter implementation
*
* Copyright 2011-2014 Nikolay Sivov for CodeWeavers
* Copyright 2011-2014
, 2016
Nikolay Sivov for CodeWeavers
* Copyright 2011 Thomas Mullaly
*
* This library is free software; you can redistribute it and/or
...
...
@@ -244,7 +244,7 @@ static xml_encoding parse_encoding_name(const WCHAR *encoding)
static
HRESULT
init_encoded_buffer
(
encoded_buffer
*
buffer
)
{
const
int
initial_len
=
0x
2
000
;
const
int
initial_len
=
0x
1
000
;
buffer
->
data
=
heap_alloc
(
initial_len
);
if
(
!
buffer
->
data
)
return
E_OUTOFMEMORY
;
...
...
dlls/msxml3/tests/saxreader.c
View file @
30b661ad
...
...
@@ -3305,7 +3305,6 @@ static void test_mxwriter_flush(void)
pos2
.
QuadPart
=
0
;
hr
=
IStream_Seek
(
stream
,
pos
,
STREAM_SEEK_CUR
,
&
pos2
);
EXPECT_HR
(
hr
,
S_OK
);
todo_wine
ok
(
pos2
.
QuadPart
!=
0
,
"unexpected stream beginning
\n
"
);
hr
=
IMXWriter_get_output
(
writer
,
NULL
);
...
...
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