Menu

bug on x86 win7

lynnux
2013-10-21
2016-02-22
  • lynnux

    lynnux - 2013-10-21

    I found a bug when use mc on a x86 win7
    readdir in w32_dirent.c all failed on my machine, I debugged and found that
    http://sourceforge.net/p/mcwin32/code/ci/master/tree/libw32/w32_dirent.c#l675
    the dp->dd_current is always NULL, so I look foward and found dir_populate, and then opendir
    http://sourceforge.net/p/mcwin32/code/ci/master/tree/libw32/w32_dirent.c#l247

    I simplely pathed the exe, just make sure call dir_populate and not call closedir, then I can see the files in directory now.
    but my patch is only work for the x86 may not work for x64, I think you can think it better.

     

    Last edit: lynnux 2013-10-21
  • adamy

    adamy - 2016-02-22

    Addressed in later drops; post if not so.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.