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

Diff for /src/usr.bin/su/su.c between version 1.41 and 1.42

version 1.41, 2001/09/18 04:41:09 version 1.42, 2001/09/18 16:37:59
Line 159 
Line 159 
                 auth_errx(as, 1, "can't allocate memory");                  auth_errx(as, 1, "can't allocate memory");
         if (asme) {          if (asme) {
                 if (pwd->pw_shell && *pwd->pw_shell) {                  if (pwd->pw_shell && *pwd->pw_shell) {
                         shell = strdup(pwd->pw_shell);                          if ((shell = strdup(pwd->pw_shell)) == NULL)
                                   auth_errx(as, 1, "can't allocate memory");
                 } else {                  } else {
                         shell = _PATH_BSHELL;                          shell = _PATH_BSHELL;
                         iscsh = NO;                          iscsh = NO;

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42