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

Diff for /src/usr.bin/ssh/sftp.c between version 1.91 and 1.92

version 1.91, 2006/08/03 03:34:42 version 1.92, 2006/09/19 05:52:23
Line 481 
Line 481 
         if (stat(path, &sb) == -1)          if (stat(path, &sb) == -1)
                 return(0);                  return(0);
   
         return(sb.st_mode & S_IFDIR);          return(S_ISDIR(sb.st_mode));
 }  }
   
 static int  static int
Line 505 
Line 505 
                 return(0);                  return(0);
         if (!(a->flags & SSH2_FILEXFER_ATTR_PERMISSIONS))          if (!(a->flags & SSH2_FILEXFER_ATTR_PERMISSIONS))
                 return(0);                  return(0);
         return(a->perm & S_IFDIR);          return(S_ISDIR(a->perm));
 }  }
   
 static int  static int

Legend:
Removed from v.1.91  
changed lines
  Added in v.1.92