TUI: setlinebuf not available in Cygwin.

Ton van Overbeek v-overbeek@cistron.nl
Tue Oct 1 07:04:00 GMT 2002


When compiling TUI on Cygwin I got a link failure because setlinebuf
is not available.
I replaced the call to setlinebuf in tuiIO.c(tui_initialize_io) with:
	setvbuf (tui_rl_outstream, NULL, _IOLBF, 0);

I do not know if this is acceptable for all platforms, so I'll leave it
up to others to provide a proper patch.

Ton van Overbeek



More information about the Gdb-patches mailing list