=?UTF-8?Q?Iv=C3=A1n=20Matellanes=20?=: msvcirt: Implement ios::fill.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Jul 20 14:20:49 CDT 2015
Module: wine
Branch: master
Commit: 9b42f88e49c5cdc3df77947515d9c6328f14a4ea
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9b42f88e49c5cdc3df77947515d9c6328f14a4ea
Author: Iván Matellanes <matellanesivan at gmail.com>
Date: Fri Jul 17 16:36:22 2015 +0200
msvcirt: Implement ios::fill.
---
dlls/msvcirt/msvcirt.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/dlls/msvcirt/msvcirt.c b/dlls/msvcirt/msvcirt.c
index a0d670f..068beab 100644
--- a/dlls/msvcirt/msvcirt.c
+++ b/dlls/msvcirt/msvcirt.c
@@ -921,8 +921,12 @@ int __thiscall ios_fail(const ios *this)
DEFINE_THISCALL_WRAPPER(ios_fill_set, 8)
char __thiscall ios_fill_set(ios *this, char fill)
{
- FIXME("(%p %d) stub\n", this, fill);
- return EOF;
+ char prev = this->fill;
+
+ TRACE("(%p %d)\n", this, fill);
+
+ this->fill = fill;
+ return prev;
}
/* ?fill at ios@@QBEDXZ */
@@ -930,8 +934,8 @@ char __thiscall ios_fill_set(ios *this, char fill)
DEFINE_THISCALL_WRAPPER(ios_fill_get, 4)
char __thiscall ios_fill_get(const ios *this)
{
- FIXME("(%p) stub\n", this);
- return EOF;
+ TRACE("(%p)\n", this);
+ return this->fill;
}
/* ?flags at ios@@QAEJJ at Z */
More information about the wine-cvs
mailing list