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
140861ca
Commit
140861ca
authored
Jun 06, 2012
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 06, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp90: Call correct setstate function in basic_ostream class.
parent
46838cf2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
ios.c
dlls/msvcp90/ios.c
+5
-5
No files found.
dlls/msvcp90/ios.c
View file @
140861ca
...
...
@@ -2975,7 +2975,7 @@ basic_ostream_char* __thiscall basic_ostream_char_flush(basic_ostream_char *this
if
(
basic_ios_char_rdbuf_get
(
base
)
&&
ios_base_good
(
&
base
->
base
)
&&
basic_streambuf_char_pubsync
(
basic_ios_char_rdbuf_get
(
base
))
==-
1
)
ios_base_setstate
(
&
base
->
base
,
IOSTATE_badbit
);
basic_ios_char_setstate
(
base
,
IOSTATE_badbit
);
return
this
;
}
...
...
@@ -3051,7 +3051,7 @@ basic_ostream_char* __thiscall basic_ostream_char_put(basic_ostream_char *this,
if
(
!
basic_ostream_char_sentry_create
(
this
)
||
basic_streambuf_char_sputc
(
base
->
strbuf
,
ch
)
==
EOF
)
{
basic_ostream_char_sentry_destroy
(
this
);
ios_base_setstate
(
&
base
->
base
,
IOSTATE_badbit
);
basic_ios_char_setstate
(
base
,
IOSTATE_badbit
);
return
this
;
}
...
...
@@ -3074,7 +3074,7 @@ basic_ostream_char* __thiscall basic_ostream_char_seekp(basic_ostream_char *this
basic_streambuf_char_pubseekoff
(
basic_ios_char_rdbuf_get
(
base
),
&
seek
,
off
,
way
,
OPENMODE_out
);
if
(
seek
.
off
==
0
&&
seek
.
pos
==-
1
&&
seek
.
state
==
0
)
ios_base_setstate
(
&
base
->
base
,
IOSTATE_failbit
);
basic_ios_char_setstate
(
base
,
IOSTATE_failbit
);
}
return
this
;
}
...
...
@@ -3094,7 +3094,7 @@ basic_ostream_char* __thiscall basic_ostream_char_seekp_fpos(basic_ostream_char
basic_streambuf_char_pubseekpos
(
basic_ios_char_rdbuf_get
(
base
),
&
seek
,
pos
,
OPENMODE_out
);
if
(
seek
.
off
==
0
&&
seek
.
pos
==-
1
&&
seek
.
state
==
0
)
ios_base_setstate
(
&
base
->
base
,
IOSTATE_failbit
);
basic_ios_char_setstate
(
base
,
IOSTATE_failbit
);
}
return
this
;
}
...
...
@@ -3131,7 +3131,7 @@ basic_ostream_char* __thiscall basic_ostream_char_write(basic_ostream_char *this
if
(
!
basic_ostream_char_sentry_create
(
this
)
||
basic_streambuf_char_sputn
(
base
->
strbuf
,
str
,
count
)
!=
count
)
{
basic_ostream_char_sentry_destroy
(
this
);
ios_base_setstate
(
&
base
->
base
,
IOSTATE_badbit
);
basic_ios_char_setstate
(
base
,
IOSTATE_badbit
);
return
this
;
}
...
...
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