Module Name:    xsrc
Committed By:   mrg
Date:           Thu Jun 17 04:32:46 UTC 2010

Modified Files:
        xsrc/external/mit/sessreg/dist: sessreg.h

Log Message:
ensure that [WU]TMPX_FILE are defined to something.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 xsrc/external/mit/sessreg/dist/sessreg.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/sessreg/dist/sessreg.h
diff -u xsrc/external/mit/sessreg/dist/sessreg.h:1.1.1.2 xsrc/external/mit/sessreg/dist/sessreg.h:1.2
--- xsrc/external/mit/sessreg/dist/sessreg.h:1.1.1.2	Thu Jun 17 03:00:08 2010
+++ xsrc/external/mit/sessreg/dist/sessreg.h	Thu Jun 17 04:32:46 2010
@@ -95,6 +95,15 @@
 #  define WTMP_FILE	"/usr/adm/wtmp"
 # endif
 #endif
+
+#ifndef WTMPX_FILE
+# ifdef _PATH_WTMPX
+#  define WTMPX_FILE	_PATH_WTMPX
+# else
+#  define WTMPX_FILE	"/usr/adm/wtmpx"
+# endif
+#endif
+
 #ifndef UTMP_FILE
 # ifdef _PATH_UTMP
 #  define UTMP_FILE	_PATH_UTMP
@@ -102,6 +111,15 @@
 #  define UTMP_FILE	"/etc/utmp"
 # endif
 #endif
+
+#ifndef UTMPX_FILE
+# ifdef _PATH_UTMPX
+#  define UTMPX_FILE	_PATH_UTMPX
+# else
+#  define UTMPX_FILE	"/etc/utmpx"
+# endif
+#endif
+
 #ifndef NO_LASTLOG
 # ifndef LLOG_FILE
 #  ifdef _PATH_LASTLOG

Reply via email to