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

Diff for /src/usr.bin/ssh/readconf.c between version 1.133 and 1.134

version 1.133, 2004/06/17 15:10:14 version 1.134, 2004/07/11 17:48:47
Line 802 
Line 802 
  */   */
   
 int  int
 read_config_file(const char *filename, const char *host, Options *options,  read_config_file(const char *filename, const char *host, Options *options,
     int checkperm)      int checkperm)
 {  {
         FILE *f;          FILE *f;
Line 816 
Line 816 
   
         if (checkperm) {          if (checkperm) {
                 struct stat sb;                  struct stat sb;
   
                 if (fstat(fileno(f), &sb) == -1)                  if (fstat(fileno(f), &sb) == -1)
                         fatal("fstat %s: %s", filename, strerror(errno));                          fatal("fstat %s: %s", filename, strerror(errno));
                 if (((sb.st_uid != 0 && sb.st_uid != getuid()) ||                  if (((sb.st_uid != 0 && sb.st_uid != getuid()) ||

Legend:
Removed from v.1.133  
changed lines
  Added in v.1.134