[2928] in Kerberos-V5-bugs
pending/596: PATCH: krb5-1.0.5 appl/telnet/telnetd/termios-tn.c
daemon@ATHENA.MIT.EDU (Larry Schwimmer)
Wed May 20 22:52:38 1998
Resent-From: gnats@rt-11.MIT.EDU (GNATS Management)
Resent-To: gnats-admin@rt-11.MIT.EDU
Resent-Reply-To: krb5-bugs@MIT.EDU,
Larry Schwimmer <schwim@whatmore.Stanford.EDU>
Date: Wed, 20 May 1998 19:46:52 -0700 (PDT)
From: Larry Schwimmer <schwim@whatmore.Stanford.EDU>
To: krb5-bugs@MIT.EDU
>Number: 596
>Category: pending
>Synopsis: PATCH: krb5-1.0.5 appl/telnet/telnetd/termios-tn.c
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: gnats-admin
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed May 20 22:47:00 EDT 1998
>Last-Modified:
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:
Submitter-Id: net
Originator: Larry Schwimmer
Organization: Stanford University
Confidential: no
Synopsis: telnetd fails to compile under AIX 4.2
Severity: serious
Priority: medium
Category: krb5-appl
Class: sw-bug
Release: krb5-1.0.5
Environment: AIX 4.2
Description:
The TCSET* defines are in <termio.h> on AIX and, in its
infinite wisdom, AIX 4.2's termios.h does not include this file.
How-To-Repeat:
Try to compile krb5-1.0.5 under AIX 4.2. Watch it go boom.
Fix:
Patch below. As patched, it works under 4.1 and 4.2.
yours,
Larry Schwimmer
schwim@leland.stanford.edu
Leland Systems Group
--- appl/telnet/telnetd/termios-tn.c.orig Fri Feb 6 19:41:48 1998
+++ appl/telnet/telnetd/termios-tn.c Thu Mar 19 06:26:26 1998
@@ -5,6 +5,9 @@
#include <sys/stream.h>
#include <sys/ioctl.h>
#include <termios.h>
+#ifdef _AIX
+#include <termio.h>
+#endif
int readstream_termios(cmd, ibuf, vstop, vstart, ixon)
int cmd;