Changeset 11999

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

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

Files:

Legend:

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

    r11848 r11999  
    17361736        return CE_None; 
    17371737 
     1738    bLoadedBlockDirty = FALSE; 
     1739 
    17381740    SetDirectory(); 
    17391741 
     
    17421744    else 
    17431745        nBlockBufSize = TIFFStripSize( hTIFF ); 
    1744  
    1745     bLoadedBlockDirty = FALSE; 
    17461746 
    17471747    if( TIFFIsTiled( hTIFF ) ) 
     
    25762576{ 
    25772577    Crystalize(); 
     2578 
     2579    FlushBlockBuf(); 
    25782580 
    25792581    if( nNewOffset == 0 )