[BACK]Return to login.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / login

Diff for /src/usr.bin/login/login.c between version 1.21 and 1.22

version 1.21, 1997/06/02 03:08:55 version 1.22, 1997/06/20 04:55:00
Line 117 
Line 117 
   
 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
Line 436 
Line 436 
   
         /* 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;
   

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22