version 1.21, 1997/06/02 03:08:55 |
version 1.22, 1997/06/20 04:55:00 |
|
|
|
|
struct passwd *pwd; |
struct passwd *pwd; |
int failures; |
int failures; |
char term[64], *envinit[1], *hostname, *tty; |
char term[64], *hostname, *tty; |
char *username = NULL, *rusername = NULL; |
char *username = NULL, *rusername = NULL; |
|
|
int |
int |
|
|
|
|
/* Destroy environment unless user has requested its preservation. */ |
/* Destroy environment unless user has requested its preservation. */ |
if (!pflag) |
if (!pflag) |
environ = envinit; |
if ((environ = calloc(1, sizeof (char *))) == NULL) |
|
err(1, "calloc"); |
else { |
else { |
char **cpp, **cpp2; |
char **cpp, **cpp2; |
|
|