Opened 16 years ago
Closed 16 years ago
#2512 closed defect (fixed)
GTiffDataset::FlushCache() doesn't work
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.5.3 |
Component: | GDAL_Raster | Version: | 1.5.0 |
Severity: | normal | Keywords: | gtiff |
Cc: | gaopeng |
Description
It turns out that GTiffDataset::FlushCache() never calls TIFFFlush() so the actual file descriptor isn't fflush()ed.
void GTiffDataset::FlushCache() { GDALPamDataset::FlushCache(); if( bLoadedBlockDirty && nLoadedBlock != -1 ) FlushBlockBuf(); CPLFree( pabyBlockBuf ); pabyBlockBuf = NULL; nLoadedBlock = -1; bLoadedBlockDirty = FALSE; }
Change History (2)
comment:1 by , 16 years ago
Cc: | added |
---|---|
Owner: | changed from | to
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
TIFFFlush() call added in trunk (r15075) and 1.5 branch (r15076).