xenocara/app/sessreg/man/filenames.sed.c

30 lines
466 B
C
Raw Normal View History

2006-11-25 13:07:29 -07:00
#include "sessreg.h"
#ifdef UTMPX_FILE
# define UTF UTMPX_FILE
2010-07-31 03:14:09 -06:00
# define UTM utmpx
2006-11-25 13:07:29 -07:00
#else
# define UTF UTMP_FILE
2010-07-31 03:14:09 -06:00
# define UTM utmp
2006-11-25 13:07:29 -07:00
#endif
#ifdef WTMPX_FILE
# define WTF WTMPX_FILE
#else
# define WTF WTMP_FILE
#endif
#ifndef TTYS_FILE
# define TTYS_FILE "/etc/ttys"
#endif
2010-07-31 03:14:09 -06:00
#ifndef LLOG_FILE
# define LLOG_FILE "/var/log/lastlog"
#endif
s|__utmp_manpage__|UTM|g
2006-11-25 13:07:29 -07:00
s|__utmp_file__|UTF|g
s|__wtmp_file__|WTF|g
s|__ttys_file__|TTYS_FILE|g
2010-07-31 03:14:09 -06:00
s|__lastlog_file__|LLOG_FILE|g