This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 5/6] testsuite: Introduce $inferior_spawn_id
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 27 Feb 2015 12:12:28 +0000
- Subject: Re: [PATCH 5/6] testsuite: Introduce $inferior_spawn_id
- Authentication-results: sourceware.org; auth=none
- References: <1424699660-11727-1-git-send-email-palves at redhat dot com> <1424699660-11727-6-git-send-email-palves at redhat dot com> <867fv7xodw dot fsf at gmail dot com> <54F04A2B dot 5 at redhat dot com> <54F04E16 dot 2070704 at redhat dot com>
Hi Pedro,
This patch is fine by me.
On 27/02/15 10:59, Pedro Alves wrote:
+ /* Always force this for Windows testing. To a native Windows
+ program running under under a Cygwin shell/ssh, stdin is really a
Double "under".
+ Windows pipe, thus not a tty and its outputs ends up fully
+ buffered. */
+#ifndef __MINGW32__
+ if (!isatty (fileno (stdin)))
+#endif
Include unistd.h for isatty?
--
Yao (éå)