IO problems

Ross Paterson ross at soi.city.ac.uk
Mon Oct 13 19:03:38 EDT 2003


On Mon, Oct 13, 2003 at 05:54:20PM +0100, Alastair Reid wrote:
> 
> > The handle table was being clobbered after it was resized to fit the
> > 41st handle.  Now fixed in CVS.
> 
> It seems like it is overly hard to test this kind of thing - you pretty much 
> have to know there is a bug before you'll write a test case that opens that 
> many handles.
> 
> Would it be worthwhile reducing the initial size of all these resizable tables 
> so that normal programs would test the resizing code?
> 
> Fail early, fail often!

There are four such tables, and the other three already start small.


More information about the Hugs-Bugs mailing list