summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>1999-03-28 22:51:41 +0000
committerTom Yu <tlyu@mit.edu>1999-03-28 22:51:41 +0000
commit56c620818bc5b742ea59860afe9865a55bfc9a79 (patch)
treed4f4b1d854a79bf68fd6f88e1d625eaff3a1c754 /src/util
parent4bd9393ffdabad4f555fd27404414d944d8fbf81 (diff)
downloadkrb5-56c620818bc5b742ea59860afe9865a55bfc9a79.tar.gz
krb5-56c620818bc5b742ea59860afe9865a55bfc9a79.tar.xz
krb5-56c620818bc5b742ea59860afe9865a55bfc9a79.zip
* update_wtmp.c: Define WTMPX_FILE to be _PATH_WTMPX in case we're
on a system that cleans up the namespace that way. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11323 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util')
-rw-r--r--src/util/pty/ChangeLog5
-rw-r--r--src/util/pty/update_wtmp.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/src/util/pty/ChangeLog b/src/util/pty/ChangeLog
index 45b034896..a910a15d1 100644
--- a/src/util/pty/ChangeLog
+++ b/src/util/pty/ChangeLog
@@ -1,3 +1,8 @@
+Sun Mar 28 17:50:57 1999 Tom Yu <tlyu@mit.edu>
+
+ * update_wtmp.c: Define WTMPX_FILE to be _PATH_WTMPX in case we're
+ on a system that cleans up the namespace that way.
+
Wed Feb 17 19:47:36 1999 Tom Yu <tlyu@mit.edu>
* sane_hostname.c (pty_make_sane_hostname): Remove unused
diff --git a/src/util/pty/update_wtmp.c b/src/util/pty/update_wtmp.c
index 7f6890230..b65b87092 100644
--- a/src/util/pty/update_wtmp.c
+++ b/src/util/pty/update_wtmp.c
@@ -25,6 +25,9 @@
#define WTMP_FILE _PATH_WTMP
#endif
+#if !defined(WTMPX_FILE) && defined(_PATH_WTMPX) && defined(HAVE_UPDWTMPX)
+#define WTMPX_FILE _PATH_WTMPX
+#endif
/* if it is *still* missing, assume SunOS */
#ifndef WTMP_FILE