Opened 17 years ago

Closed 17 years ago

#1733 closed defect (fixed)

ILWIS .grf creation doesn't work sometimes.

Reported by: warmerdam Owned by: warmerdam
Priority: normal Milestone: 1.5.0
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: ilwis
Cc: lichun

Description

Translation to ILWIS format on windows doesn't not seem to work properly as some files (such as .grf) are given crazy names. This appears to be because the filename from poOpenInfo is kept within the dataset without making a local allocation even though the filename in poOpenInfo is likely to be destroyed before the dataset is destroyed.

Change History (2)

comment:1 by warmerdam, 17 years ago

Status: newassigned

Fixed in trunk via r11833 by turning the pszFileName member of the dataset into a CPLString to keep a copy in. Renamed to osFileName to reflect it being an object instead of a "char *".

I see a number of other issues reported when exporting to ILWIS format under valgrind. I will fix these and then backport a unified update to 1.4 branch.

comment:2 by warmerdam, 17 years ago

Resolution: fixed
Status: assignedclosed

Fixed leak of fpRaw file handles for band data files. Fixed some valgrind reported issues with passing adfGeoTransform to Get/Set Geotransform in trunk in r11834.

Backported the trunk version of the driver to 1.4 branch in r11835.

Note: See TracTickets for help on using tickets.