Deleted Added
sdiff udiff text old ( 137015 ) new ( 162852 )
full compact
1/*
2 * Copyright (c) 2000 Andre Lucas. All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.

--- 17 unchanged lines hidden (view full) ---

26 ** logintest.c: simple test driver for platform-independent login recording
27 ** and lastlog retrieval
28 **/
29
30#include "includes.h"
31
32#include <sys/types.h>
33#include <sys/wait.h>
34#include <unistd.h>
35#include <stdlib.h>
36#include <stdio.h>
37#include <string.h>
38#include <pwd.h>
39#include <netdb.h>
40#ifdef HAVE_TIME_H
41#include <time.h>
42#endif
43
44#include "loginrec.h"
45
46RCSID("$Id: logintest.c,v 1.11 2004/07/17 04:07:42 dtucker Exp $");
47
48extern char *__progname;
49
50#define PAUSE_BEFORE_LOGOUT 3
51
52int nologtest = 0;
53int compile_opts_only = 0;
54int be_verbose = 0;
55

--- 251 unchanged lines hidden ---