[PATCH] Unbuffer stdout and stderr on windows

Joel Brobecker brobecker@adacore.com
Wed Aug 14 00:05:00 GMT 2013


> Yes, Emacs does that.  But it is never a problem in that case, because
> it's the user who looks at the results, not a program that wants to
> interpret them.
[...]
> I think this problem is only relevant to the test suite,

Actually, I did find that having stdout and stderr mixed up to
be very confusing. But I know I've never found a solution that
would be acceptable to everyone. This is why I've never formally
submitted the patch, only published it as an FYI the few times
someone asked about the issue. Credits to Dan Jacobowitz, btw,
for giving it to me in the first place.

> program tries to interpret the output and trips on extraneous
> characters.  Let's not make the solution so much wider than the
> problem.  With Yao's patch, you now have this in a Cygwin terminal;
> can we leave all the other types alone, please?

Sure. I don't see how this is going to help the testsuite, but
Yao's patch is already progress, and we've been using a vendor patch
for years anyway, so we can continue doing so without problems.

-- 
Joel



More information about the Gdb-patches mailing list