From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26515 invoked by alias); 14 Aug 2013 00:05:34 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 26499 invoked by uid 89); 14 Aug 2013 00:05:33 -0000 X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_HOSTKARMA_NO autolearn=ham version=3.3.2 Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 14 Aug 2013 00:05:33 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 235BF116661; Tue, 13 Aug 2013 20:05:34 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fdluGMTqlyJL; Tue, 13 Aug 2013 20:05:34 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id DB3A91164C1; Tue, 13 Aug 2013 20:05:33 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 47DDBC25A3; Tue, 13 Aug 2013 17:05:29 -0700 (PDT) Date: Wed, 14 Aug 2013 00:05:00 -0000 From: Joel Brobecker To: Eli Zaretskii Cc: palves@redhat.com, gdb-patches@sourceware.org, yao@codesourcery.com Subject: Re: [PATCH] Unbuffer stdout and stderr on windows Message-ID: <20130814000529.GB11128@adacore.com> References: <1374462417-7961-1-git-send-email-yao@codesourcery.com> <838v0yy556.fsf@gnu.org> <51EE23F8.1070905@codesourcery.com> <83wqohw4ee.fsf@gnu.org> <20130729192559.GA5348@ednor.casa.cgf.cx> <83d2q1xiyv.fsf@gnu.org> <51F6C7B2.3020400@redhat.com> <20130731034045.GA5565@ednor.casa.cgf.cx> <20130812211105.GA11128@adacore.com> <8361v9piop.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8361v9piop.fsf@gnu.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2013-08/txt/msg00367.txt.bz2 > 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