-Fri Sep 29 14:18:03 1995 Theodore Y. Ts'o <tytso@dcl>
+Sat Oct 14 20:49:40 1995 Sam Hartman <hartmans@tertius.mit.edu>
- * configure.in:
- * Makefile.in: Use the SubdirLibraryRule defined in aclocal.m4 to
- create the DONE file (and to properly clean it up).
+ * update_wtmp.c (ptyint_update_wtmp): Insert fallback path for Sunos and others, return defined value.
-Mon Sep 25 16:42:36 1995 Theodore Y. Ts'o <tytso@dcl>
- * Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the
- Makefile.
+Fri Aug 11 17:49:36 1995 Samuel D Hartman (hartmans@vorlon)
-Thu Sep 7 19:13:05 1995 Mark Eichin <eichin@cygnus.com>
-
- * update_utmp.c: ultimately fall back to /etc/utmp for UTMP_FILE,
- if it is still missing after all previous efforts.
- * update_wtmp.c: /usr/adm/wtmp for WTMP_FILE likewise.
-
-Thu Aug 24 18:40:48 1995 Theodore Y. Ts'o <tytso@dcl>
-
- * .Sanitize: Update file list
-
-Tue Aug 15 21:42:16 1995 <tytso@rsts-11.mit.edu>
-
- * update_wtmp.c (ptyint_update_wtmp): If EMPTY is not defined,
- then set ut.ut_type to 0 instead.
+ * update_wtmp.c (ptyint_update_wtmp): If EMPTY not defined as a
+ utmp type, use DEAD_PROCESS.
Fri Aug 11 15:49:30 1995 Sam Hartman <hartmans@tertius.mit.edu>
#if !defined(WTMP_FILE) && defined(_PATH_WTMP)
#define WTMP_FILE _PATH_WTMP
#endif
-
-/* if it is *still* missing, assume SunOS */
-#ifndef WTMP_FILE
-#define WTMP_FILE "/usr/adm/wtmp"
+/* Other cases go here as necessary; else use /usr/adm/wtmp*/
+#ifndef PATH_WTMP
+#define PATH_WTMP "/usr/adm/wtmp"
#endif
long ptyint_update_wtmp (ent)
#ifdef EMPTY
ut.ut_type = EMPTY;
#else
- ut.ut_type = 0;
-#endif
+ ut.ut_type = DEAD_PROCESS; /* For Linux brokenness*/
+#endif
+
}
#endif
if (write(fd, (char *)&ut, sizeof(struct utmp)) !=
(void)close(fd);
}
#endif /* HAVE_UPDWTMP */
+ return 0; /* no current failure cases; file not found is not failure!*/
+
}