[6/9] msvcirt: Implement stdiobuf::stdiofile

Iván Matellanes matellanesivan at gmail.com
Fri Oct 2 08:03:24 CDT 2015


Signed-off-by: Iván Matellanes <matellanesivan at gmail.com>
---
 dlls/msvcirt/msvcirt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msvcirt/msvcirt.c b/dlls/msvcirt/msvcirt.c
index 602ab77..1d915fa 100644
--- a/dlls/msvcirt/msvcirt.c
+++ b/dlls/msvcirt/msvcirt.c
@@ -1589,8 +1589,8 @@ int __thiscall stdiobuf_setrwbuf(stdiobuf *this, int read_size, int write_size)
 DEFINE_THISCALL_WRAPPER(stdiobuf_stdiofile, 4)
 FILE* __thiscall stdiobuf_stdiofile(stdiobuf *this)
 {
-    FIXME("(%p) stub\n", this);
-    return NULL;
+    TRACE("(%p)\n", this);
+    return this->file;
 }
 
 /* ?sync at stdiobuf@@UAEHXZ */
-- 
2.1.4




More information about the wine-patches mailing list