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
c868db76
Commit
c868db76
authored
Oct 26, 2012
by
Daniel Lehman
Committed by
Alexandre Julliard
Oct 29, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp: Sync istream<>::peek implementations.
parent
32be1635
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
ios.c
dlls/msvcp100/ios.c
+8
-0
ios.c
dlls/msvcp60/ios.c
+8
-0
ios.c
dlls/msvcp71/ios.c
+8
-0
No files found.
dlls/msvcp100/ios.c
View file @
c868db76
...
...
@@ -5821,6 +5821,10 @@ int __thiscall basic_istream_char_peek(basic_istream_char *this)
if
(
basic_istream_char_sentry_create
(
this
,
TRUE
))
ret
=
basic_streambuf_char_sgetc
(
basic_ios_char_rdbuf_get
(
base
));
basic_istream_char_sentry_destroy
(
this
);
if
(
ret
==
EOF
)
basic_ios_char_setstate
(
base
,
IOSTATE_eofbit
);
return
ret
;
}
...
...
@@ -6949,6 +6953,10 @@ unsigned short __thiscall basic_istream_wchar_peek(basic_istream_wchar *this)
if
(
basic_istream_wchar_sentry_create
(
this
,
TRUE
))
ret
=
basic_streambuf_wchar_sgetc
(
basic_ios_wchar_rdbuf_get
(
base
));
basic_istream_wchar_sentry_destroy
(
this
);
if
(
ret
==
WEOF
)
basic_ios_wchar_setstate
(
base
,
IOSTATE_eofbit
);
return
ret
;
}
...
...
dlls/msvcp60/ios.c
View file @
c868db76
...
...
@@ -7212,6 +7212,10 @@ int __thiscall basic_istream_char_peek(basic_istream_char *this)
if
(
basic_istream_char_sentry_create
(
this
,
TRUE
))
ret
=
basic_streambuf_char_sgetc
(
basic_ios_char_rdbuf_get
(
base
));
basic_istream_char_sentry_destroy
(
this
);
if
(
ret
==
EOF
)
basic_ios_char_setstate
(
base
,
IOSTATE_eofbit
);
return
ret
;
}
...
...
@@ -8467,6 +8471,10 @@ unsigned short __thiscall basic_istream_wchar_peek(basic_istream_wchar *this)
if
(
basic_istream_wchar_sentry_create
(
this
,
TRUE
))
ret
=
basic_streambuf_wchar_sgetc
(
basic_ios_wchar_rdbuf_get
(
base
));
basic_istream_wchar_sentry_destroy
(
this
);
if
(
ret
==
WEOF
)
basic_ios_wchar_setstate
(
base
,
IOSTATE_eofbit
);
return
ret
;
}
...
...
dlls/msvcp71/ios.c
View file @
c868db76
...
...
@@ -7544,6 +7544,10 @@ int __thiscall basic_istream_char_peek(basic_istream_char *this)
if
(
basic_istream_char_sentry_create
(
this
,
TRUE
))
ret
=
basic_streambuf_char_sgetc
(
basic_ios_char_rdbuf_get
(
base
));
basic_istream_char_sentry_destroy
(
this
);
if
(
ret
==
EOF
)
basic_ios_char_setstate
(
base
,
IOSTATE_eofbit
);
return
ret
;
}
...
...
@@ -8802,6 +8806,10 @@ unsigned short __thiscall basic_istream_wchar_peek(basic_istream_wchar *this)
if
(
basic_istream_wchar_sentry_create
(
this
,
TRUE
))
ret
=
basic_streambuf_wchar_sgetc
(
basic_ios_wchar_rdbuf_get
(
base
));
basic_istream_wchar_sentry_destroy
(
this
);
if
(
ret
==
WEOF
)
basic_ios_wchar_setstate
(
base
,
IOSTATE_eofbit
);
return
ret
;
}
...
...
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