[04/10] msvcirt: Implement strstreambuf::str (resend)

Iván Matellanes matellanesivan at gmail.com
Thu Sep 17 04:06:49 CDT 2015


---
 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 */
-- 
2.1.4




More information about the wine-patches mailing list