search for: utmp_str

Displaying 2 results from an estimated 2 matches for "utmp_str".

Did you mean: tmp_ptr
1999 Dec 21
0
Problem with UTMP recording
...ine quad_t int64_t #endif /* If _PATH_LASTLOG is not defined by system headers, set it to the */ /* lastlog file detected by autoconf */ #ifndef _PATH_LASTLOG # ifdef LASTLOG_LOCATION # define _PATH_LASTLOG LASTLOG_LOCATION # endif #endif /* Use utmpx if supported */ #ifdef HAVE_UTMPX_H # define UTMP_STR utmpx #else # ifdef HAVE_UTMP_H # define UTMP_STR utmp # endif #endif #ifndef _PATH_UTMP # ifdef UTMPX_FILE # define _PATH_UTMP UTMPX_FILE # else # ifdef UTMP_FILE # define _PATH_UTMP UTMP_FILE # else # define _PATH_UTMP "/var/adm/utmp" # endif # endif #endif #ifndef _PATH_WTM...
1999 Dec 09
1
bsd-login.c in pre17
...7 +79,7 @@ tty = ttyslot(); if (tty > 0 && (fd = open(_PATH_UTMP, O_RDWR|O_CREAT, 0644)) >= 0) { -#ifdef HAVE_HOST_IN_UTMP || HAVE_HOST_IN_UTMPX +#if defined(HAVE_HOST_IN_UTMP) || defined(HAVE_HOST_IN_UTMPX) (void)lseek(fd, (off_t)(tty * sizeof(struct UTMP_STR)), SEEK_SET); /* * Prevent luser from zero'ing out ut_host. _____________________________________________________ Sent by Jahoopa Free Email! Find us on the web at http://www.jahoopa.com Join today!