Changeset 653

Show
Ignore:
Timestamp:
02/20/08 04:34:48 (6 months ago)
Author:
artem
Message:

patch from Martijn van Oosterhout

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/utils/shapeindex/shapeindex.cpp

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