Ticket #13: mc-vfs_s_inode_from_path-find-invisible-fix.patch

File mc-vfs_s_inode_from_path-find-invisible-fix.patch, 623 bytes (added by slavazanko, 15 years ago)
  • vfs/direntry.c

    RCS file: /cvsroot/mc/mc/vfs/direntry.c,v
    retrieving revision 1.121
    diff -u -p -r1.121 direntry.c
    vfs_s_inode_from_path (struct vfs_class  
    581581        vfs_s_find_inode (me, super, q, 
    582582                          flags & FL_FOLLOW ? LINK_FOLLOW : LINK_NO_FOLLOW, 
    583583                          flags & ~FL_FOLLOW); 
    584     if ((!ino) && (!*q)) 
     584    if (!ino) 
    585585        /* We are asking about / directory of ftp server: assume it exists */ 
    586586        ino = 
    587587            vfs_s_find_inode (me, super, q,