From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6252 invoked by alias); 17 Jun 2009 17:25:15 -0000 Received: (qmail 6242 invoked by uid 22791); 17 Jun 2009 17:25:15 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (140.186.70.10) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 17 Jun 2009 17:25:06 +0000 Received: from eliz by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MGysh-00009o-EV; Wed, 17 Jun 2009 13:25:03 -0400 From: Eli Zaretskii To: Joel Brobecker CC: muller@ics.u-strasbg.fr, gdb-patches@sourceware.org In-reply-to: <20090617145429.GB7582@adacore.com> (message from Joel Brobecker on Wed, 17 Jun 2009 07:54:29 -0700) Subject: Re: [RFC] Improve testsuite for poor expect behavior Reply-to: Eli Zaretskii References: <001201c9ebb1$96414b10$c2c3e130$@u-strasbg.fr> <20090613150505.GA28157@caradoc.them.org> <000001c9ec65$9bf13ca0$d3d3b5e0$@u-strasbg.fr> <20090613235454.GA1893@caradoc.them.org> <20090614002516.GO25703@adacore.com> <000001c9ed8a$21cfdc30$656f9490$@u-strasbg.fr> <20090616145756.GB7730@adacore.com> <000c01c9eeda$022d8a70$06889f50$@u-strasbg.fr> <20090617133626.GA24310@caradoc.them.org> <20090617145429.GB7582@adacore.com> Message-Id: Date: Wed, 17 Jun 2009 17:25:00 -0000 X-IsSubscribed: yes 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 X-SW-Source: 2009-06/txt/msg00438.txt.bz2 > X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham > version=3.1.0 > Date: Wed, 17 Jun 2009 07:54:29 -0700 > From: Joel Brobecker > > > +#ifdef _WIN32 > > + /* A Cygwin ssh session may not look like a terminal to the Windows > > + runtime; ensure unbuffered output. */ > > + setvbuf (stdout, NULL, _IONBF, BUFSIZ); > > + setvbuf (stderr, NULL, _IONBF, BUFSIZ); > > +#endif > > We have the exact same piece of code in our tree as well. We chose > to put it in event-top, but it doesn't really matter. I'd really > like to see at least this part being committed. Did someone check that switching it to binary will not interfere with Emacs 23 GDB interface on Windows?