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
46838cf2
Commit
46838cf2
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: Rename sentry_char_{create,destroy} functions.
parent
bbea6efc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
ios.c
dlls/msvcp90/ios.c
+8
-8
No files found.
dlls/msvcp90/ios.c
View file @
46838cf2
...
...
@@ -3001,7 +3001,7 @@ void __thiscall basic_ostream_char_osfx(basic_ostream_char *this)
basic_ostream_char__Osfx
(
this
);
}
static
BOOL
sentry_char
_create
(
basic_ostream_char
*
ostr
)
static
BOOL
basic_ostream_char_sentry
_create
(
basic_ostream_char
*
ostr
)
{
basic_ios_char
*
base
=
basic_ostream_char_get_basic_ios
(
ostr
);
...
...
@@ -3014,7 +3014,7 @@ static BOOL sentry_char_create(basic_ostream_char *ostr)
return
ios_base_good
(
&
base
->
base
);
}
static
void
sentry_char
_destroy
(
basic_ostream_char
*
ostr
)
static
void
basic_ostream_char_sentry
_destroy
(
basic_ostream_char
*
ostr
)
{
basic_ios_char
*
base
=
basic_ostream_char_get_basic_ios
(
ostr
);
...
...
@@ -3048,14 +3048,14 @@ basic_ostream_char* __thiscall basic_ostream_char_put(basic_ostream_char *this,
TRACE
(
"(%p %c)
\n
"
,
this
,
ch
);
if
(
!
sentry_char
_create
(
this
)
if
(
!
basic_ostream_char_sentry
_create
(
this
)
||
basic_streambuf_char_sputc
(
base
->
strbuf
,
ch
)
==
EOF
)
{
sentry_char
_destroy
(
this
);
basic_ostream_char_sentry
_destroy
(
this
);
ios_base_setstate
(
&
base
->
base
,
IOSTATE_badbit
);
return
this
;
}
sentry_char
_destroy
(
this
);
basic_ostream_char_sentry
_destroy
(
this
);
return
this
;
}
...
...
@@ -3128,14 +3128,14 @@ basic_ostream_char* __thiscall basic_ostream_char_write(basic_ostream_char *this
TRACE
(
"(%p %s %ld)
\n
"
,
this
,
debugstr_a
(
str
),
count
);
if
(
!
sentry_char
_create
(
this
)
if
(
!
basic_ostream_char_sentry
_create
(
this
)
||
basic_streambuf_char_sputn
(
base
->
strbuf
,
str
,
count
)
!=
count
)
{
sentry_char
_destroy
(
this
);
basic_ostream_char_sentry
_destroy
(
this
);
ios_base_setstate
(
&
base
->
base
,
IOSTATE_badbit
);
return
this
;
}
sentry_char
_destroy
(
this
);
basic_ostream_char_sentry
_destroy
(
this
);
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