Re: TIOCGETP and sgtty.h
On Tue, Nov 23, 2010 at 05:25:29PM +0100, Petr Salinger wrote:
> >I can force gap to use termios.h even when sgtty.h is available,
> >but maybe kfreebsd could be fixed ?
>
> Well, the prefered method should be to use POSIX termios when available.
>
> http://www.opengroup.org/onlinepubs/9699919799/basedefs/termios.h.html
>
> The sgtty.h from (e)glibc is the same as on Linux, just stubs.
I agree. The bug here is that if termio.h is not present, then sgtty.h is prefered
over termios.h, and the converse if termio.h is present.
I wrote the same patch as you independently.
Is there still time to get the fixed version included in Squeeze ?
Cheers,
Bill.
Reply to: