Changeset 680 for branches

Show
Ignore:
Timestamp:
03/28/08 20:06:25 (8 months ago)
Author:
dom
Message:

merge [653], [654] (shapeindex error handling)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/stable/0.5/utils/shapeindex/shapeindex.cpp

    r628 r680  
    211211            tree.trim(); 
    212212            std::clog<<" number nodes="<<tree.count()<<std::endl; 
     213            file.exceptions(std::ios::failbit | std::ios::badbit); 
    213214            tree.write(file); 
     215            file.flush(); 
    214216            file.close(); 
    215217        }