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
257c57bd
Commit
257c57bd
authored
Jul 24, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Jul 24, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Fixed EOF detection in basic_streambuf_char__Xsgetn_s function.
parent
b9bc582f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
ios.c
dlls/msvcp90/ios.c
+6
-2
No files found.
dlls/msvcp90/ios.c
View file @
257c57bd
...
@@ -786,6 +786,7 @@ DEFINE_THISCALL_WRAPPER(basic_streambuf_char__Xsgetn_s, 16)
...
@@ -786,6 +786,7 @@ DEFINE_THISCALL_WRAPPER(basic_streambuf_char__Xsgetn_s, 16)
streamsize
__thiscall
basic_streambuf_char__Xsgetn_s
(
basic_streambuf_char
*
this
,
char
*
ptr
,
MSVCP_size_t
size
,
streamsize
count
)
streamsize
__thiscall
basic_streambuf_char__Xsgetn_s
(
basic_streambuf_char
*
this
,
char
*
ptr
,
MSVCP_size_t
size
,
streamsize
count
)
{
{
streamsize
copied
,
chunk
;
streamsize
copied
,
chunk
;
int
c
;
TRACE
(
"(%p %p %lu %ld)
\n
"
,
this
,
ptr
,
size
,
count
);
TRACE
(
"(%p %p %lu %ld)
\n
"
,
this
,
ptr
,
size
,
count
);
...
@@ -800,7 +801,8 @@ streamsize __thiscall basic_streambuf_char__Xsgetn_s(basic_streambuf_char *this,
...
@@ -800,7 +801,8 @@ streamsize __thiscall basic_streambuf_char__Xsgetn_s(basic_streambuf_char *this,
*
this
->
prsize
-=
chunk
;
*
this
->
prsize
-=
chunk
;
copied
+=
chunk
;
copied
+=
chunk
;
size
-=
chunk
;
size
-=
chunk
;
}
else
if
((
ptr
[
copied
]
=
call_basic_streambuf_char_uflow
(
this
))
!=
EOF
)
{
}
else
if
((
c
=
call_basic_streambuf_char_uflow
(
this
))
!=
EOF
)
{
ptr
[
copied
]
=
c
;
copied
++
;
copied
++
;
size
--
;
size
--
;
}
else
{
}
else
{
...
@@ -1529,6 +1531,7 @@ DEFINE_THISCALL_WRAPPER(basic_streambuf_wchar__Xsgetn_s, 16)
...
@@ -1529,6 +1531,7 @@ DEFINE_THISCALL_WRAPPER(basic_streambuf_wchar__Xsgetn_s, 16)
streamsize
__thiscall
basic_streambuf_wchar__Xsgetn_s
(
basic_streambuf_wchar
*
this
,
wchar_t
*
ptr
,
MSVCP_size_t
size
,
streamsize
count
)
streamsize
__thiscall
basic_streambuf_wchar__Xsgetn_s
(
basic_streambuf_wchar
*
this
,
wchar_t
*
ptr
,
MSVCP_size_t
size
,
streamsize
count
)
{
{
streamsize
copied
,
chunk
;
streamsize
copied
,
chunk
;
unsigned
short
c
;
TRACE
(
"(%p %p %lu %ld)
\n
"
,
this
,
ptr
,
size
,
count
);
TRACE
(
"(%p %p %lu %ld)
\n
"
,
this
,
ptr
,
size
,
count
);
...
@@ -1543,7 +1546,8 @@ streamsize __thiscall basic_streambuf_wchar__Xsgetn_s(basic_streambuf_wchar *thi
...
@@ -1543,7 +1546,8 @@ streamsize __thiscall basic_streambuf_wchar__Xsgetn_s(basic_streambuf_wchar *thi
*
this
->
prsize
-=
chunk
;
*
this
->
prsize
-=
chunk
;
copied
+=
chunk
;
copied
+=
chunk
;
size
-=
chunk
;
size
-=
chunk
;
}
else
if
((
ptr
[
copied
]
=
call_basic_streambuf_wchar_uflow
(
this
))
!=
WEOF
)
{
}
else
if
((
c
=
call_basic_streambuf_wchar_uflow
(
this
))
!=
WEOF
)
{
ptr
[
copied
]
=
c
;
copied
++
;
copied
++
;
size
--
;
size
--
;
}
else
{
}
else
{
...
...
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