summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorSam Hartman <hartmans@mit.edu>1998-07-12 20:59:42 +0000
committerSam Hartman <hartmans@mit.edu>1998-07-12 20:59:42 +0000
commit8ea93aa530d9b07ae9180cb9363f518a3cccb829 (patch)
tree4c915a4e0edbdfbe233b5acc8151d5866c997fd1 /src/util
parent69394cd9629fabf09aaeb99bf6d57ebba100b217 (diff)
Preliminary fixes for AIX4.3:
* Fix static libs on platforms using .a for shared libs * Fix utmp handling for non-hpux platforms with ut_exit different from utmpx. * Include librarymacros in ss configure.in * Remove declarations of h_errno git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10632 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util')
-rw-r--r--src/util/pty/ChangeLog7
-rw-r--r--src/util/pty/update_utmp.c2
-rw-r--r--src/util/ss/configure.in1
3 files changed, 9 insertions, 1 deletions
diff --git a/src/util/pty/ChangeLog b/src/util/pty/ChangeLog
index 48d50d05b..46919b61f 100644
--- a/src/util/pty/ChangeLog
+++ b/src/util/pty/ChangeLog
@@ -1,3 +1,10 @@
+1998-07-05 <hartmans@fundsxpress.com>
+
+ * update_utmp.c (pty_update_utmp): If the ut_exit differs test
+ indicates the structures differ, and we don't have a special case,
+ do nothing rather than trying to copy the field. It's not worth
+ breaking the build over.
+
Mon Apr 6 19:35:33 1998 Tom Yu <tlyu@voltage-multiplier.mit.edu>
* update_utmp.c (pty_update_utmp): Don't record LOGIN_PROCESS
diff --git a/src/util/pty/update_utmp.c b/src/util/pty/update_utmp.c
index d60d99fa5..d131b046e 100644
--- a/src/util/pty/update_utmp.c
+++ b/src/util/pty/update_utmp.c
@@ -146,7 +146,7 @@ long pty_update_utmp (process_type, pid, username, line, host, flags)
utx.ut_exit.__e_termination = ent.ut_exit.e_termination;
utx.ut_exit.__e_exit = ent.ut_exit.e_exit;
#else
- utx.ut_exit = ent.ut_exit;
+ /*xxx do nothing for now; we don't even know the structure member exists*/
#endif
#endif
utx.ut_tv.tv_sec = ent.ut_time;
diff --git a/src/util/ss/configure.in b/src/util/ss/configure.in
index 6a24f459f..d3cae5064 100644
--- a/src/util/ss/configure.in
+++ b/src/util/ss/configure.in
@@ -1,5 +1,6 @@
AC_INIT(ct.y)
CONFIG_RULES
+AC_PROG_INSTALL
AC_PROG_LEX
AC_PROG_YACC
AC_PROG_AWK