From 56c620818bc5b742ea59860afe9865a55bfc9a79 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Sun, 28 Mar 1999 22:51:41 +0000 Subject: [PATCH] * 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 --- src/util/pty/ChangeLog | 5 +++++ src/util/pty/update_wtmp.c | 3 +++ 2 files changed, 8 insertions(+) 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 + + * 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 * 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 -- 2.26.2