[Bug 37345] Wine does not flush stdout if stdout is redirected (Regression!)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Oct 2 04:45:38 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=37345

Andreas Fuchs <anduchs at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Andreas Fuchs <anduchs at gmail.com> ---
Redirected (non-pty-stdouts) are supposed to be buffered...

My personal fix is now basically:

callwine.c:
-    int ret = pipe(winestdout);
+    int ret = openpty(&winestdout[0], &winestdout[1], NULL, NULL, NULL);


In case anyone else runs into this at some point...

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list