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

Diff for /src/usr.bin/finger/util.c between version 1.10 and 1.11

version 1.10, 1998/07/10 15:45:19 version 1.11, 1999/08/17 09:13:15
Line 46 
Line 46 
 #include <sys/uio.h>  #include <sys/uio.h>
 #include <sys/param.h>  #include <sys/param.h>
 #include <sys/stat.h>  #include <sys/stat.h>
 #include <sys/file.h>  
 #include <err.h>  #include <err.h>
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
Line 54 
Line 53 
 #include <string.h>  #include <string.h>
 #include <paths.h>  #include <paths.h>
 #include <errno.h>  #include <errno.h>
   #include <fcntl.h>
 #include <unistd.h>  #include <unistd.h>
 #include <vis.h>  #include <vis.h>
 #include <err.h>  #include <err.h>
Line 189 
Line 189 
   
         /* some systems may not maintain lastlog, don't report errors. */          /* some systems may not maintain lastlog, don't report errors. */
         if (!opened) {          if (!opened) {
                 fd = open(_PATH_LASTLOG, O_RDONLY, 0);                  fd = open(_PATH_LASTLOG, O_RDONLY);
                 opened = 1;                  opened = 1;
         }          }
         if (fd == -1 ||          if (fd == -1 ||

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11