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
88d7b66b
Commit
88d7b66b
authored
Mar 11, 2013
by
Nikolay Sivov
Committed by
Alexandre Julliard
Mar 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xmllite: Make another read attempt if we don't have enough data initially.
parent
93775145
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
reader.c
dlls/xmllite/reader.c
+6
-1
No files found.
dlls/xmllite/reader.c
View file @
88d7b66b
...
@@ -610,7 +610,12 @@ static HRESULT readerinput_detectencoding(xmlreaderinput *readerinput, xml_encod
...
@@ -610,7 +610,12 @@ static HRESULT readerinput_detectencoding(xmlreaderinput *readerinput, xml_encod
*
enc
=
XmlEncoding_Unknown
;
*
enc
=
XmlEncoding_Unknown
;
if
(
buffer
->
written
<=
3
)
return
MX_E_INPUTEND
;
if
(
buffer
->
written
<=
3
)
{
HRESULT
hr
=
readerinput_growraw
(
readerinput
);
if
(
FAILED
(
hr
))
return
hr
;
if
(
buffer
->
written
<=
3
)
return
MX_E_INPUTEND
;
}
/* try start symbols if we have enough data to do that, input buffer should contain
/* try start symbols if we have enough data to do that, input buffer should contain
first chunk already */
first chunk already */
...
...
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