Ticket #3727: src_filemanager_mountlist.c.diff

File src_filemanager_mountlist.c.diff, 938 bytes (added by boruch, 5 years ago)
  • (a) mc-github/src/filemanager/mountlist.c vs. (b) mountlist.c_001

    a b  
    13111311 ** QNX has no [gs]etmnt*(), [gs]etfs*(), or /etc/mnttab, but can do 
    13121312 ** this via the following code. 
    13131313 ** Note that, as this is based on CWD, it only fills one mount_entry 
    1314  ** structure. See my_statfs() in utilunix.c for the "other side" of 
    1315  ** this hack. 
     1314 ** structure. See my_statfs() below for the "other side" of this hack. 
    13161315 */ 
    13171316 
    13181317static GSList * 
     
    17441743 
    17451744#ifdef HAVE_INFOMOUNT_QNX 
    17461745        /* 
    1747          ** This is the "other side" of the hack to read_file_system_list() in 
    1748          ** mountlist.c. 
     1746         ** This is the "other side" of the hack to read_file_system_list() above. 
    17491747         ** It's not the most efficient approach, but consumes less memory. It 
    17501748         ** also accommodates QNX's ability to mount filesystems on the fly. 
    17511749         */