=?UTF-8?Q?Iv=C3=A1n=20Matellanes=20?=: msvcirt: Implement istream::gcount.

Alexandre Julliard julliard at winehq.org
Fri Jul 15 09:07:05 CDT 2016


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

Author: Iván Matellanes <matellanesivan at gmail.com>
Date:   Fri Jul 15 10:26:54 2016 +0100

msvcirt: Implement istream::gcount.

Signed-off-by: Iván Matellanes <matellanes.ivan at gmail.com>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 cffd0da..f7fcedb 100644
--- a/dlls/msvcirt/msvcirt.c
+++ b/dlls/msvcirt/msvcirt.c
@@ -3057,8 +3057,8 @@ void __thiscall istream_eatwhite(istream *this)
 DEFINE_THISCALL_WRAPPER(istream_gcount, 4)
 int __thiscall istream_gcount(const istream *this)
 {
-    FIXME("(%p) stub\n", this);
-    return 0;
+    TRACE("(%p)\n", this);
+    return this->count;
 }
 
 /* ?ipfx at istream@@QAEHH at Z */




More information about the wine-cvs mailing list