Return to last.c CVS log | Up to [local] / src / usr.bin / last |
version 1.44, 2014/12/09 15:40:23 | version 1.45, 2015/01/16 06:40:09 | ||
---|---|---|---|
|
|
||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||
*/ | */ | ||
#include <sys/param.h> | |||
#include <sys/stat.h> | #include <sys/stat.h> | ||
#include <ctype.h> | #include <ctype.h> | ||
|
|
||
#include <time.h> | #include <time.h> | ||
#include <tzfile.h> | #include <tzfile.h> | ||
#include <unistd.h> | #include <unistd.h> | ||
#include <limits.h> | |||
#include <utmp.h> | #include <utmp.h> | ||
#define NO 0 /* false/no */ | #define NO 0 /* false/no */ | ||
|
|
||
void | void | ||
hostconv(char *arg) | hostconv(char *arg) | ||
{ | { | ||
static char *hostdot, name[MAXHOSTNAMELEN]; | static char *hostdot, name[HOST_NAME_MAX+1]; | ||
static int first = 1; | static int first = 1; | ||
char *argdot; | char *argdot; | ||