[Gdal-dev] Bug fix in BMP support

Ben Discoe ben at vterrain.org
Tue Jun 17 08:43:04 EDT 2003

This fixes a crash in the BMP reader on Windows:

RCS file: /cvsroot/osrs/gdal/frmts/bmp/bmpdataset.cpp,v
retrieving revision 1.20
diff -w -b -r1.20 bmpdataset.cpp
<     VSIFCloseL( poOpenInfo->fp );
>     VSIFClose( poOpenInfo->fp );

VSIFClose must be used here, because VSIFOpen was used in GDALOpenInfo
(core/gdalopen.cpp) to open the file.


More information about the Gdal-dev mailing list