From schwim@whatmore.Stanford.EDU Wed May 20 22:46:55 1998
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id WAA19290 for <bugs@RT-11.MIT.EDU>; Wed, 20 May 1998 22:46:54 -0400
Received: from whatmore.Stanford.EDU by MIT.EDU with SMTP
id AA08486; Wed, 20 May 98 22:46:47 EDT
Received: (from schwim@localhost)
by whatmore.Stanford.EDU (8.8.8/8.8.8) id TAA28723;
Wed, 20 May 1998 19:46:52 -0700 (PDT)
Message-Id: <199805210246.TAA28723@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
Subject: PATCH: krb5-1.0.5 appl/telnet/telnetd/termios-tn.c
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.
Try to compile krb5-1.0.5 under AIX 4.2. Watch it go boom.
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;
Responsible-Changed-From-To: gnats-admin->krb5-unassigned
Responsible-Changed-By: raeburn
Responsible-Changed-When: Fri Sep 14 11:48:04 2001
Responsible-Changed-Why:
reformat/refile
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id WAA19290 for <bugs@RT-11.MIT.EDU>; Wed, 20 May 1998 22:46:54 -0400
Received: from whatmore.Stanford.EDU by MIT.EDU with SMTP
id AA08486; Wed, 20 May 98 22:46:47 EDT
Received: (from schwim@localhost)
by whatmore.Stanford.EDU (8.8.8/8.8.8) id TAA28723;
Wed, 20 May 1998 19:46:52 -0700 (PDT)
Message-Id: <199805210246.TAA28723@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
Subject: PATCH: krb5-1.0.5 appl/telnet/telnetd/termios-tn.c
Show quoted text
>Number: 596
>Category: krb5-appl
>Synopsis: telnetd fails to compile under AIX 4.2
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed May 20 22:47:00 EDT 1998
>Last-Modified: Fri Sep 14 11:48:21 EDT 2001
>Originator: Larry Schwimmer
>Organization:
Stanford University>Category: krb5-appl
>Synopsis: telnetd fails to compile under AIX 4.2
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed May 20 22:47:00 EDT 1998
>Last-Modified: Fri Sep 14 11:48:21 EDT 2001
>Originator: Larry Schwimmer
>Organization:
Show quoted text
>Release: krb5-1.0.5
>Environment:
AIX 4.2>Environment:
Show quoted text
>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.
Show quoted text
>How-To-Repeat:
Try to compile krb5-1.0.5 under AIX 4.2. Watch it go boom.
Show quoted text
>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;
Show quoted text
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->krb5-unassigned
Responsible-Changed-By: raeburn
Responsible-Changed-When: Fri Sep 14 11:48:04 2001
Responsible-Changed-Why:
reformat/refile
Show quoted text
>Unformatted: