[RFC] Improve testsuite for poor expect behavior
Joel Brobecker
brobecker@adacore.com
Wed Jun 17 14:54:00 GMT 2009
> +#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.
--
Joel
More information about the Gdb-patches
mailing list