Changeset 13627
- Timestamp:
- 01/30/08 11:30:29 (4 months ago)
- Files:
-
- trunk/gdal/gcore/gdalopeninfo.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/gdal/gcore/gdalopeninfo.cpp
r11404 r13627 123 123 else if( bStatOK && !bIsDirectory ) 124 124 { 125 CPLString osDir = CPLGetDirname( pszFilename ); 126 papszSiblingFiles = VSIReadDir( osDir ); 125 if( CSLTestBoolean( 126 CPLGetConfigOptions( "GDAL_DISABLE_READDIR_ON_OPEN", "NO" )) ) 127 { 128 /* skip reading the directory */ 129 } 130 else 131 { 132 CPLString osDir = CPLGetDirname( pszFilename ); 133 papszSiblingFiles = VSIReadDir( osDir ); 134 } 127 135 } 128 136 else
