=?UTF-8?Q?Iv=C3=A1n=20Matellanes=20?=: msvcirt: Implement strstreambuf:: str.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Sep 18 14:31:17 CDT 2015


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

Author: Iván Matellanes <matellanesivan at gmail.com>
Date:   Thu Sep 17 11:06:49 2015 +0200

msvcirt: Implement strstreambuf::str.

---

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

diff --git a/dlls/msvcirt/msvcirt.c b/dlls/msvcirt/msvcirt.c
index 4d0f4f6..4b826db 100644
--- a/dlls/msvcirt/msvcirt.c
+++ b/dlls/msvcirt/msvcirt.c
@@ -1326,8 +1326,9 @@ streambuf* __thiscall strstreambuf_setbuf(strstreambuf *this, char *buffer, int
 DEFINE_THISCALL_WRAPPER(strstreambuf_str, 4)
 char* __thiscall strstreambuf_str(strstreambuf *this)
 {
-    FIXME("(%p) stub\n", this);
-    return NULL;
+    TRACE("(%p)\n", this);
+    strstreambuf_freeze(this, 1);
+    return this->base.base;
 }
 
 /* ?sync at strstreambuf@@UAEHXZ */




More information about the wine-cvs mailing list