* update_wtmp.c: Define WTMPX_FILE to be _PATH_WTMPX in case we're
authorTom Yu <tlyu@mit.edu>
Sun, 28 Mar 1999 22:51:41 +0000 (22:51 +0000)
committerTom Yu <tlyu@mit.edu>
Sun, 28 Mar 1999 22:51:41 +0000 (22:51 +0000)
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
src/util/pty/update_wtmp.c

index 45b0348965bf3b138a5df309bcde6cf6cc68ac6b..a910a15d177063ade0792c01079a9cd45d522852 100644 (file)
@@ -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
index 7f6890230d278a6c2302b85d25d62017744d741f..b65b87092a5cf83dd1fddf0e3bae88a1b216606b 100644 (file)
@@ -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