=?UTF-8?Q?Iv=C3=A1n=20Matellanes=20?=: msvcirt: Implement ios::delbuf.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 20 14:20:49 CDT 2015


Module: wine
Branch: master
Commit: 9abffde3bcdc139eae77e8d66dfbc26ed08bd0ff
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9abffde3bcdc139eae77e8d66dfbc26ed08bd0ff

Author: Iván Matellanes <matellanesivan at gmail.com>
Date:   Fri Jul 17 16:36:50 2015 +0200

msvcirt: Implement ios::delbuf.

---

 dlls/msvcirt/msvcirt.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dlls/msvcirt/msvcirt.c b/dlls/msvcirt/msvcirt.c
index dbb2ea3..5bae2c8 100644
--- a/dlls/msvcirt/msvcirt.c
+++ b/dlls/msvcirt/msvcirt.c
@@ -878,7 +878,8 @@ void __cdecl ios_clrlock(ios *this)
 DEFINE_THISCALL_WRAPPER(ios_delbuf_set, 8)
 void __thiscall ios_delbuf_set(ios *this, int delete)
 {
-    FIXME("(%p %d) stub\n", this, delete);
+    TRACE("(%p %d)\n", this, delete);
+    this->delbuf = delete;
 }
 
 /* ?delbuf at ios@@QBEHXZ */
@@ -886,8 +887,8 @@ void __thiscall ios_delbuf_set(ios *this, int delete)
 DEFINE_THISCALL_WRAPPER(ios_delbuf_get, 4)
 int __thiscall ios_delbuf_get(const ios *this)
 {
-    FIXME("(%p) stub\n", this);
-    return 0;
+    TRACE("(%p)\n", this);
+    return this->delbuf;
 }
 
 /* ?dec@@YAAAVios@@AAV1@@Z */




More information about the wine-cvs mailing list