[04/10] msvcirt: Implement strstreambuf::str

Iván Matellanes matellanesivan at gmail.com
Sun Sep 13 10:43:53 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 fd5649f..719b669 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