Ticket #221 (closed defect: fixed)
[GDAL] Use of msBuildPath() with GDALGetDescription()???
| Reported by: | dmorissette | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | GDAL Support | Version: | 4.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I noticed in mapraster.c that calls to GDALReadWorldFile() use calls to msBuildPath() combined with GDALGetDescription(). Is GDALGetDescription() supposed to return the full path that was previously passed to GDALOpen()? If it does then those msBuildPath() calls are not necessary since msBuildPath() has been called already for GDALOpen(). If it doesn't then we need to know what the function returns exactly. Frank, can you please confirm that it is safe to use GDALGetDescription() the way it is used in mapraster.c?
Change History
Note: See
TracTickets for help on using
tickets.
