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
c152c540
Commit
c152c540
authored
Oct 08, 2012
by
Daniel Lehman
Committed by
Alexandre Julliard
Oct 10, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp: Flip fclose result check in filebuf<>::close.
parent
c6e0daa2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
ios.c
dlls/msvcp100/ios.c
+2
-2
ios.c
dlls/msvcp60/ios.c
+2
-2
ios.c
dlls/msvcp71/ios.c
+2
-2
No files found.
dlls/msvcp100/ios.c
View file @
c152c540
...
...
@@ -1993,7 +1993,7 @@ static basic_filebuf_char* basic_filebuf_char_close(basic_filebuf_char *this)
/* TODO: handle exceptions */
if
(
!
basic_filebuf_char__Endwrite
(
this
))
ret
=
NULL
;
if
(
!
fclose
(
this
->
file
))
if
(
fclose
(
this
->
file
))
ret
=
NULL
;
basic_filebuf_char__Init
(
this
,
NULL
,
INITFL_close
);
...
...
@@ -2482,7 +2482,7 @@ static basic_filebuf_wchar* basic_filebuf_wchar_close(basic_filebuf_wchar *this)
/* TODO: handle exceptions */
if
(
!
basic_filebuf_wchar__Endwrite
(
this
))
ret
=
NULL
;
if
(
!
fclose
(
this
->
file
))
if
(
fclose
(
this
->
file
))
ret
=
NULL
;
basic_filebuf_wchar__Init
(
this
,
NULL
,
INITFL_close
);
...
...
dlls/msvcp60/ios.c
View file @
c152c540
...
...
@@ -2331,7 +2331,7 @@ basic_filebuf_char* __thiscall basic_filebuf_char_close(basic_filebuf_char *this
/* TODO: handle exceptions */
if
(
!
basic_filebuf_char__Endwrite
(
this
))
ret
=
NULL
;
if
(
!
fclose
(
this
->
file
))
if
(
fclose
(
this
->
file
))
ret
=
NULL
;
basic_filebuf_char__Init
(
this
,
NULL
,
INITFL_close
);
...
...
@@ -2901,7 +2901,7 @@ basic_filebuf_wchar* __thiscall basic_filebuf_wchar_close(basic_filebuf_wchar *t
/* TODO: handle exceptions */
if
(
!
basic_filebuf_wchar__Endwrite
(
this
))
ret
=
NULL
;
if
(
!
fclose
(
this
->
file
))
if
(
fclose
(
this
->
file
))
ret
=
NULL
;
basic_filebuf_wchar__Init
(
this
,
NULL
,
INITFL_close
);
...
...
dlls/msvcp71/ios.c
View file @
c152c540
...
...
@@ -2414,7 +2414,7 @@ basic_filebuf_char* __thiscall basic_filebuf_char_close(basic_filebuf_char *this
/* TODO: handle exceptions */
if
(
!
basic_filebuf_char__Endwrite
(
this
))
ret
=
NULL
;
if
(
!
fclose
(
this
->
file
))
if
(
fclose
(
this
->
file
))
ret
=
NULL
;
basic_filebuf_char__Init
(
this
,
NULL
,
INITFL_close
);
...
...
@@ -2974,7 +2974,7 @@ basic_filebuf_wchar* __thiscall basic_filebuf_wchar_close(basic_filebuf_wchar *t
/* TODO: handle exceptions */
if
(
!
basic_filebuf_wchar__Endwrite
(
this
))
ret
=
NULL
;
if
(
!
fclose
(
this
->
file
))
if
(
fclose
(
this
->
file
))
ret
=
NULL
;
basic_filebuf_wchar__Init
(
this
,
NULL
,
INITFL_close
);
...
...
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