Merge in changes between 1.4 and 1.5 in RCS file; this delta is Mark
authorSam Hartman <hartmans@mit.edu>
Thu, 14 Dec 1995 20:03:10 +0000 (20:03 +0000)
committerSam Hartman <hartmans@mit.edu>
Thu, 14 Dec 1995 20:03:10 +0000 (20:03 +0000)
Eichin's patch to fall back to /usr/adm/wtmp.  Somehow, this was lost
in 1.6.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7232 dc483132-0cff-0310-8789-dd5450dbe970

src/util/pty/update_wtmp.c

index e5a4d3c86c62fd7b40d20136401b694a7261f348..4666b44cc76ce064df0b2d3fa3198827d0089ef3 100644 (file)
 #if !defined(WTMP_FILE) && defined(_PATH_WTMP)
 #define WTMP_FILE _PATH_WTMP
 #endif
-/* Other cases go here as necessary; else use /usr/adm/wtmp*/
-#ifndef PATH_WTMP
-#define PATH_WTMP "/usr/adm/wtmp"
+
+
+/* if it is *still* missing, assume SunOS */
+#ifndef WTMP_FILE
+#define        WTMP_FILE       "/usr/adm/wtmp"
 #endif
 
+
 long ptyint_update_wtmp (ent , host)
     struct utmp *ent;
      char *host;