[Bug 49852] Performance regression in "msvcrt: Use correct code page in _write when outputing to console."

WineHQ Bugzilla wine-bugs at winehq.org
Fri Sep 18 08:12:49 CDT 2020


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

--- Comment #4 from Jacek Caban <jacek at codeweavers.com> ---
(In reply to Martin Storsjö from comment #3)
> (In reply to Jacek Caban from comment #2)
> > Avoiding using tty code path reduces that time to 2.5s (something like wine
> > ihateeh-x86_64.exe |cat)
> 
> Oh, that's interesting. So pipeing stdout in that case makes it a non-tty,
> avoiding the slow code, but redirecting stdout to /dev/null still considers
> it a tty?

Yeah, it's msvcrt that considers /dev/null to be a tty because we report
FILE_TYPE_CHAR type. We should probably find a better solution.

-- 
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