Skip Menu |
 

Download (untitled) / with headers
text/plain 2.5KiB
From donn@u.washington.edu Tue May 20 10:50:14 1997
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 KAA01576 for <bugs@RT-11.MIT.EDU>; Tue, 20 May 1997 10:50:14 -0400
Received: from melville.u.washington.edu by MIT.EDU with SMTP
id AA27800; Tue, 20 May 97 10:50:13 EDT
Received: (from donn@localhost)
by melville.u.washington.edu (8.8.4+UW97.04/8.8.4+UW97.05)
id HAA51408; Tue, 20 May 1997 07:50:11 -0700
Message-Id: <199705201450.HAA51408@melville.u.washington.edu>
Date: Tue, 20 May 1997 07:50:11 -0700
From: donn@u.washington.edu
Reply-To: donn@u.washington.edu
To: krb5-bugs@MIT.EDU
Subject: krb5 telnetd AIX 4.2 build
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 429
>Category: krb5-appl
>Synopsis: Telnetd build glitches for AIX 4.2
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Tue May 20 10:51:01 EDT 1997
>Last-Modified:
>Originator: Donn Cave
>Organization:
University Computing Services
University of Washington
Show quoted text
>Release: 1.0pl1
>Environment:
AIX 4.2
System: AIX melville 2 4 000010504900


Show quoted text
>Description:
Problems building a working telnetd on AIX 4.2 (and I believe
this applies to 4.1 also, but that's only an assumption.)

termios-tn.c needs termio.h on this platform, for macros TCSETS etc.

The pty driver doesn't support a "pckt" module, whatever that is,
so that needs to be excluded in sys_term.c ... a HAVE_PCKTMODULE
macro would be fine, but for my immediate purposes the appended
#ifndef _AIX41 made more sense. (_AIX41 is defined on AIX 4.1 and 4.2.)

Show quoted text
>How-To-Repeat:
...
Show quoted text
>Fix:
Context diffs appended.
-------------------------------
*** src/appl/telnet/telnetd/sys_term.c.dist Mon Apr 14 20:52:12 1997
--- src/appl/telnet/telnetd/sys_term.c Tue May 20 07:27:27 1997
***************
*** 927,934 ****
--- 927,936 ----
#ifdef USE_TERMIO
ttyfd = t;
#endif
+ #if !defined(_AIX41)
if (ioctl(pty, I_PUSH, "pckt") < 0)
fatal(net, "I_PUSH pckt");
+ #endif
#endif

/*
*** src/appl/telnet/telnetd/termios-tn.c.dist Wed May 1 18:22:45 1996
--- src/appl/telnet/telnetd/termios-tn.c Thu Mar 13 15:22:39 1997
***************
*** 5,10 ****
--- 5,13 ----
#include <sys/stream.h>
#include <sys/ioctl.h>
#include <termios.h>
+ #if defined(_AIX41)
+ #include <sys/termio.h>
+ #endif

int readstream_termios(cmd, ibuf, vstop, vstart, ixon)
int cmd;
Show quoted text
>Audit-Trail:
>Unformatted: