Re: IO problems
Ross Paterson <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.hugs.bugs |
|---|---|
| Message-ID | <[email protected]> |
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.