Changeset 12001

Show
Ignore:
Timestamp:
08/29/07 23:52:22 (1 year ago)
Author:
warmerdam
Message:

ensure that blocks are flushed before moving directories (#1738)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.4/gdal/frmts/gtiff/geotiff.cpp

    r11849 r12001  
    16481648        return CE_None; 
    16491649 
     1650    bLoadedBlockDirty = FALSE; 
     1651 
    16501652    SetDirectory(); 
    16511653 
     
    16541656    else 
    16551657        nBlockBufSize = TIFFStripSize( hTIFF ); 
    1656  
    1657     bLoadedBlockDirty = FALSE; 
    16581658 
    16591659    if( TIFFIsTiled( hTIFF ) ) 
     
    24882488{ 
    24892489    Crystalize(); 
     2490 
     2491    FlushBlockBuf(); 
    24902492 
    24912493    if( nNewOffset == 0 )