bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

telnet segfaults on Hurd


From: Marcus Brinkmann
Subject: telnet segfaults on Hurd
Date: Fri, 17 Aug 2001 16:03:13 +0200
User-agent: Mutt/1.3.20i

Hi,

telnet segfaults on Hurd because of that:

TerminalFlushOutput()
{
#ifdef  TIOCFLUSH
    (void) ioctl(fileno(stdout), TIOCFLUSH, (char *) 0);
#else
    (void) ioctl(fileno(stdout), TCFLSH, (char *) 0);
#endif
}

TIOCFLUSH expects an (int *) as third argument.  The Hurd always requires
the arguments, as they are pasted to and from a server RPC.

Can't we better use tcdrain(fileno(stdout)) here anyway?

Marcus

-- 
`Rhubarb is no Egyptian god.' Debian http://www.debian.org address@hidden
Marcus Brinkmann              GNU    http://www.gnu.org    address@hidden
address@hidden
http://www.marcus-brinkmann.de



reply via email to

[Prev in Thread] Current Thread [Next in Thread]