Re: [RFC] Improve testsuite for poor expect behavior

Joel Brobecker
2009-06-17T14:54:46Z

> +#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