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 , 17 years ago
Status: | new → assigned |
---|
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
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.