Changeset 13846

Show
Ignore:
Timestamp:
02/23/08 05:27:02 (3 months ago)
Author:
rouault
Message:

Fix missing variable initialization and missing osPath argument (bug #2158)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gdal/frmts/raw/ehdrdataset.cpp

    r13626 r13846  
    963963    else 
    964964    { 
    965         osHDRFilename = CPLFormCIFilename( NULL, osName, "hdr" ); 
     965        osHDRFilename = CPLFormCIFilename( osPath, osName, "hdr" ); 
    966966    } 
    967967 
  • trunk/gdal/frmts/raw/genbindataset.cpp

    r13806 r13846  
    455455    else 
    456456    { 
    457         osHDRFilename = CPLFormCIFilename( NULL, osName, "hdr" ); 
     457        osHDRFilename = CPLFormCIFilename( osPath, osName, "hdr" ); 
    458458    } 
    459459 
  • trunk/gdal/gcore/gdalopeninfo.cpp

    r13633 r13846  
    127127        { 
    128128            /* skip reading the directory */ 
     129            papszSiblingFiles = NULL; 
    129130        } 
    130131        else