Main routine:
void main()
{
try
{ BlockFile bf;
bf = new BlockFile ("test.bf", 4096);
writefln ("before close");
bf.close;
bf = null;
writefln ("after close");
BlockFile cf = new BlockFile ("test.bf", 4096);
writefln ("after second open");
}
catch (Exception e)
{ writefln ("Caught Exception ", e); }
}Results in: Exiting BlockFile::this before close after close Exiting BlockFile::this after second open Segmentation faultI could post all the code. It's only 146 lines. But perhaps this is enough?
