Skip Menu |
 

Download (untitled) / with headers
text/plain 2.2KiB
From schwim@whatmore.Stanford.EDU Thu Mar 19 08:35:48 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 IAA28099 for <bugs@RT-11.MIT.EDU>; Thu, 19 Mar 1998 08:35:47 -0500
Received: from whatmore.Stanford.EDU by MIT.EDU with SMTP
id AA01528; Thu, 19 Mar 98 08:35:37 EST
Received: (from schwim@localhost)
by whatmore.Stanford.EDU (8.8.8/8.8.8) id FAA06150;
Thu, 19 Mar 1998 05:35:26 -0800 (PST)
Message-Id: <199803191335.FAA06150@whatmore.Stanford.EDU>
Date: Thu, 19 Mar 1998 05:35:26 -0800 (PST)
From: Larry Schwimmer <schwim@whatmore.Stanford.EDU>
To: krb5-bugs@MIT.EDU
Cc: schwim@leland.Stanford.EDU
Subject: BUG: AIX 4.2 util/pty/update_utmp.c

Show quoted text
>Number: 568
>Category: pty
>Synopsis: util/pty/update_utmp.c fails to compile on AIX 4.2
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: krb5-unassigned
>State: open
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Mar 19 08:36:00 EST 1998
>Last-Modified: Fri Sep 14 11:38:28 EDT 2001
>Originator: Larry Schwimmer
>Organization:
>Release: 1.0.5
>Environment:
AIX 4.2.1.0
Show quoted text
>Description:

AIX 4.2 <utmp.h> has ut_exit but <utmpx.h> does not; previous
versions of AIX did not have utmpx.h. The aclocal.m4 file has a
NO_UT_EXIT variable (no code actually uses it, though), which handles
normal operating systems, but AIX dares to be different.

Show quoted text
>How-To-Repeat:

Try to compile krb5-1.0.5 on AIX 4.2 and have it fail on
util/pty/update_utmp.c.

Show quoted text
>Fix:

Add a NO_UTX_EXIT check to aclocal.m4 and have update_utmp.c
use it.

--- util/pty/update_utmp.c.orig Fri Feb 6 19:46:43 1998
+++ util/pty/update_utmp.c Thu Mar 19 05:01:50 1998
@@ -143,7 +156,9 @@
utx.ut_exit.__e_termination = ent.ut_exit.e_termination;
utx.ut_exit.__e_exit = ent.ut_exit.e_exit;
#else
+#ifndef NO_UTX_EXIT
utx.ut_exit = ent.ut_exit;
+#endif
#endif
#endif
utx.ut_tv.tv_sec = ent.ut_time;

yours,
Larry Schwimmer
schwim@leland.stanford.edu
Leland Systems Group
Show quoted text
>Audit-Trail:

Responsible-Changed-From-To: gnats-admin->krb5-unassigned
Responsible-Changed-By: raeburn
Responsible-Changed-When: Fri Sep 14 11:38:16 2001
Responsible-Changed-Why:

reformat/refile

Show quoted text
>Unformatted:
fixed by pty library rewrite in krb5-1.2.3