Ignore:
Timestamp:
Oct 14, 2010, 6:12:21 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

Significantly improve the performance of directory iterators walking through directories with thousands of files on slow file systems with inefficient cache policies (closes #176) [based on patch by rudi].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/corelib/io/qfsfileengine_os2.cpp

    r793 r794  
    4242****************************************************************************/
    4343
     44
     45
     46
    4447#include "qplatformdefs.h"
    4548#include "qabstractfileengine.h"
     
    661664            is_link = false;        // drive/share names are never symlinks
    662665        } else {
     666
     667
     668
    663669            QT_STATBUF st;          // don't clobber our main one
    664670            that->is_link = (QT_LSTAT(nativeFilePath.constData(), &st) == 0) ?
    665671                            S_ISLNK(st.st_mode) : false;
     672
    666673        }
    667674    }
Note: See TracChangeset for help on using the changeset viewer.