Changeset 13862
- Timestamp:
- 02/23/08 12:41:38 (4 months ago)
- Files:
-
- trunk/gdal/port/cpl_vsil.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/gdal/port/cpl_vsil.cpp
r13861 r13862 587 587 VSIFileManager *poThis = Get(); 588 588 std::map<std::string,VSIFilesystemHandler*>::const_iterator iter; 589 int nPathLen = strlen(pszPath); 589 590 590 591 for( iter = poThis->oHandlers.begin(); … … 592 593 iter++ ) 593 594 { 594 if( strncmp(pszPath,iter->first.c_str(),iter->first.size()) == 0 ) 595 const char* pszIterKey = iter->first.c_str(); 596 int nIterKeyLen = iter->first.size(); 597 if( strncmp(pszPath,pszIterKey,nIterKeyLen) == 0 ) 595 598 return iter->second; 596 599
