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

Diff for /src/usr.bin/login/Attic/klogin.c between version 1.8 and 1.9

version 1.8, 1999/11/11 15:28:15 version 1.9, 1999/11/24 16:08:18
Line 249 
Line 249 
         extern int errno;          extern int errno;
         struct stat statb;          struct stat statb;
         char buf[BUFSIZ];          char buf[BUFSIZ];
 #ifdef TKT_SHMEM  
         char shmidname[MAXPATHLEN];  
 #endif /* TKT_SHMEM */  
   
         if (k_hasafs())          if (k_hasafs())
             k_unlog();              k_unlog();
Line 289 
Line 286 
   
 out:  out:
         if (errno != 0) return;          if (errno != 0) return;
 #ifdef TKT_SHMEM  
         /*  
          * handle the shared memory case  
          */  
         (void) strcpy(shmidname, file);  
         (void) strcat(shmidname, ".shm");  
         if (krb_shm_dest(shmidname) != KSUCCESS)  
             return;  
 #endif /* TKT_SHMEM */  
         return;          return;
 }  }
 #endif  #endif

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9